29 lines
624 B
Nix
29 lines
624 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "immutables";
|
|
version = "0.15";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "immutables" ];
|
|
|
|
meta = with lib; {
|
|
description = "An immutable mapping type for Python";
|
|
homepage = "https://github.com/MagicStack/immutables";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ catern ];
|
|
};
|
|
}
|