1{ stdenv
2, buildPythonPackage
3, isPy33
4, fetchgit
5, cython
6}:
7
8buildPythonPackage rec {
9 pname = "rencode";
10 version = "git20150810";
11 disabled = isPy33;
12
13 src = fetchgit {
14 url = https://github.com/aresch/rencode;
15 rev = "b45e04abdca0dea36e383a8199783269f186c99e";
16 sha256 = "b4bd82852d4220e8a9493d3cfaecbc57b1325708a2d48c0f8acf262edb10dc40";
17 };
18
19 buildInputs = [ cython ];
20
21 meta = with stdenv.lib; {
22 homepage = https://github.com/aresch/rencode;
23 description = "Fast (basic) object serialization similar to bencode";
24 license = licenses.gpl3;
25 };
26
27}