diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/immutables/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/immutables/default.nix | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/immutables/default.nix b/nixpkgs/pkgs/development/python-modules/immutables/default.nix index 41dcc6b2c11e..196ea78bba70 100644 --- a/nixpkgs/pkgs/development/python-modules/immutables/default.nix +++ b/nixpkgs/pkgs/development/python-modules/immutables/default.nix @@ -1,19 +1,28 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder }: +{ lib +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "immutables"; - version = "0.14"; + version = "0.15"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "0y0aqw29g525frdnmv9paljzacpp4s21sadfbca5b137iciwr8d0"; + sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b"; }; - meta = { + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "immutables" ]; + + meta = with lib; { description = "An immutable mapping type for Python"; homepage = "https://github.com/MagicStack/immutables"; - license = with lib.licenses; [ asl20 ]; - maintainers = with lib.maintainers; [ catern ]; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ catern ]; }; } |