nixpkgs/pkgs/development/python-modules/immutables/default.nix

29 lines
624 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
2018-05-08 23:14:03 +01:00
buildPythonPackage rec {
pname = "immutables";
version = "0.15";
2018-05-08 23:14:03 +01:00
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
2018-05-08 23:14:03 +01:00
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "immutables" ];
meta = with lib; {
2018-05-08 23:14:03 +01:00
description = "An immutable mapping type for Python";
homepage = "https://github.com/MagicStack/immutables";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ catern ];
2018-05-08 23:14:03 +01:00
};
}