diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-26 11:58:32 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-27 09:07:22 +0200 |
commit | 83416aa102bf3e9beb1720c40524047c3bd5e93c (patch) | |
tree | 7df29e5441b5e2965013bd5704de1dc2122b30f4 /pkgs/development/python-modules/rencode | |
parent | 14ed72da047ff68b949fafa5ff3fb2e46ea27e78 (diff) |
pythonPackages.rencode: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/rencode')
-rw-r--r-- | pkgs/development/python-modules/rencode/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rencode/default.nix b/pkgs/development/python-modules/rencode/default.nix new file mode 100644 index 0000000000000..ac041d664ae42 --- /dev/null +++ b/pkgs/development/python-modules/rencode/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, isPy33 +, fetchgit +, cython +}: + +buildPythonPackage rec { + pname = "rencode"; + version = "git20150810"; + disabled = isPy33; + + src = fetchgit { + url = https://github.com/aresch/rencode; + rev = "b45e04abdca0dea36e383a8199783269f186c99e"; + sha256 = "b4bd82852d4220e8a9493d3cfaecbc57b1325708a2d48c0f8acf262edb10dc40"; + }; + + buildInputs = [ cython ]; + + meta = with stdenv.lib; { + homepage = https://github.com/aresch/rencode; + description = "Fast (basic) object serialization similar to bencode"; + license = licenses.gpl3; + }; + +} |