pythonPackages.itypes: init at 1.1.0

This commit is contained in:
ivegotasthma 2019-08-12 06:24:12 +02:00
parent 4f25a125a7
commit 4135679907
No known key found for this signature in database
GPG Key ID: 09AC52AEA87817A4
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{
stdenv,
fetchFromGitHub,
buildPythonPackage,
pytest,
}:
buildPythonPackage rec {
pname = "itypes";
version = "1.1.0";
src = fetchFromGitHub {
repo = pname;
owner = "tomchristie";
rev = version;
sha256 = "0zkhn16wpslkxkq77dqw5rxa28nrchcb6nd3vgnxv91p4skyfm62";
};
checkInputs = [ pytest ];
checkPhase = ''
mv itypes.py itypes.py.hidden
pytest tests.py
'';
meta = with stdenv.lib; {
description = "Simple immutable types for python";
homepage = https://github.com/tomchristie/itypes;
license = licenses.bsd3;
maintainers = with maintainers; [ ivegotasthma ];
};
}

View File

@ -2404,6 +2404,8 @@ in {
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
itypes = callPackage ../development/python-modules/itypes { };
iniparse = callPackage ../development/python-modules/iniparse { };
i3-py = callPackage ../development/python-modules/i3-py { };