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