depot/third_party/nixpkgs/pkgs/development/python-modules/immutables/default.nix
Default email 29574b70c6 Project import generated by Copybara.
GitOrigin-RevId: 64b4617883844efe0cc20163e007ee636462eb18
2021-02-16 18:04:54 +01:00

28 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 ];
};
}