diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-29 11:47:15 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-30 00:51:08 -0400 |
commit | dcd9daa561a84db1e7e1b218d58596c06056828e (patch) | |
tree | 1516ee8a56762d60e7f18c7560a6bc33149c8132 /pkgs/development/python-modules/versiontools | |
parent | 35f95f05957a50ad0d78b0c25f3ccc1b08115a25 (diff) |
pythonPackages.versiontools: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/versiontools')
-rw-r--r-- | pkgs/development/python-modules/versiontools/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/versiontools/default.nix b/pkgs/development/python-modules/versiontools/default.nix new file mode 100644 index 0000000000000..e92dbae8138e0 --- /dev/null +++ b/pkgs/development/python-modules/versiontools/default.nix @@ -0,0 +1,24 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, isPy3k +}: + +buildPythonPackage rec { + pname = "versiontools"; + version = "1.9.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9"; + }; + + doCheck = (!isPy3k); + + meta = with stdenv.lib; { + homepage = https://launchpad.net/versiontools; + description = "Smart replacement for plain tuple used in __version__"; + license = licenses.lgpl2; + }; + +} |