You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
612 B
31 lines
612 B
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "itypes";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = pname;
|
|
owner = "tomchristie";
|
|
rev = version;
|
|
sha256 = "1ljhjp9pacbrv2phs58vppz1dlxix01p98kfhyclvbml6dgjcr52";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
checkPhase = ''
|
|
mv itypes.py itypes.py.hidden
|
|
pytest tests.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Simple immutable types for python";
|
|
homepage = "https://github.com/tomchristie/itypes";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|
|
|