diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-26 13:26:07 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-27 09:07:24 +0200 |
commit | aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6 (patch) | |
tree | f5c395a3f9609de478d4e7645a49ef94a3f92862 /pkgs/development/python-modules/slob | |
parent | 7040bd13cda41d1f970a2ac2c4973d71ef4b4230 (diff) | |
download | nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar.gz nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar.bz2 nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar.lz nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar.xz nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.tar.zst nixpkgs-aa04e9b16b4e33a43f1c9bf35ebdf34f66f304a6.zip |
pythonPackages.slob: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/slob')
-rw-r--r-- | pkgs/development/python-modules/slob/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/slob/default.nix b/pkgs/development/python-modules/slob/default.nix new file mode 100644 index 00000000000..490113d6952 --- /dev/null +++ b/pkgs/development/python-modules/slob/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +, isPy3k +, PyICU +, python +}: + +buildPythonPackage rec { + name = "slob"; + verison = "unstable-2016-11-03"; + disabled = !isPy3k; + + src = fetchFromGitHub { + owner = "itkach"; + repo = "slob"; + rev = "d1ed71e4778729ecdfc2fe27ed783689a220a6cd"; + sha256 = "1r510s4r124s121wwdm9qgap6zivlqqxrhxljz8nx0kv0cdyypi5"; + }; + + propagatedBuildInputs = [ PyICU ]; + + checkPhase = '' + ${python.interpreter} -m unittest slob + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/itkach/slob/; + description = "Reference implementation of the slob (sorted list of blobs) format"; + license = licenses.gpl3; + maintainers = [ maintainers.rycee ]; + }; + +} |