diff options
| author | ivegotasthma <ivegotasthma@protonmail.com> | 2019-08-12 06:24:12 +0200 |
|---|---|---|
| committer | ivegotasthma <ivegotasthma@protonmail.com> | 2019-08-12 06:24:12 +0200 |
| commit | 413567990758333c3b6d90e455af629aba3593b4 (patch) | |
| tree | e53b656938215a156261c73d353c21773204e505 | |
| parent | pythonPackages.coreapi: init at 2.3.3 (diff) | |
| download | nixpkgs-413567990758333c3b6d90e455af629aba3593b4.tar.gz | |
pythonPackages.itypes: init at 1.1.0
| -rw-r--r-- | pkgs/development/python-modules/itypes/default.nix | 31 | ||||
| -rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/itypes/default.nix b/pkgs/development/python-modules/itypes/default.nix new file mode 100644 index 000000000000..1386ba39a268 --- /dev/null +++ b/pkgs/development/python-modules/itypes/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bd1f503ddea2..c6f073711c77 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |
