Skip to content

Commit

Permalink
Merge pull request #250275 from r-ryantm/auto-update/python310Package…
Browse files Browse the repository at this point in the history
…s.pystache

python310Packages.pystache: 0.6.0 -> 0.6.4
  • Loading branch information
matthiasbeyer authored Aug 20, 2023
2 parents 0cdbae7 + 57c5687 commit b76dc45
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions pkgs/development/python-modules/pystache/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,41 @@
{ lib, buildPythonPackage, unittestCheckHook, fetchPypi, isPy3k, glibcLocales }:
{ lib
, buildPythonPackage
, unittestCheckHook
, fetchPypi
, pythonOlder
, glibcLocales
}:

buildPythonPackage rec {
pname = "pystache";
version = "0.6.0";
version = "0.6.4";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
sha256 = "93bf92b2149a4c4b58d12142e2c4c6dd5c08d89e4c95afccd4b6efe2ee1d470d";
hash = "sha256-4CkCIzBJsW4L4alPDHOJ6AViX2c1eD9FM7AgtaOKJ8c=";
};

LC_ALL = "en_US.UTF-8";

buildInputs = [ glibcLocales ];
buildInputs = [
glibcLocales
];

# SyntaxError Python 3
# https://github.com/defunkt/pystache/issues/181
doCheck = !isPy3k;
nativeCheckInputs = [
unittestCheckHook
];

nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [
"pystache"
];

meta = with lib; {
description = "A framework-agnostic, logic-free templating system inspired by ctemplate and et";
homepage = "https://github.com/defunkt/pystache";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

0 comments on commit b76dc45

Please sign in to comment.