pythonPackages.rencode: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:58:32 -04:00 committed by Frederik Rietdijk
parent 14ed72da04
commit 83416aa102
2 changed files with 28 additions and 19 deletions

View file

@ -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;
};
}

View file

@ -3530,25 +3530,7 @@ in {
rbtools = callPackage ../development/python-modules/rbtools { };
rencode = buildPythonPackage rec {
name = "rencode-${version}";
version = "git20150810";
disabled = isPy33;
src = pkgs.fetchgit {
url = https://github.com/aresch/rencode;
rev = "b45e04abdca0dea36e383a8199783269f186c99e";
sha256 = "b4bd82852d4220e8a9493d3cfaecbc57b1325708a2d48c0f8acf262edb10dc40";
};
buildInputs = with self; [ cython ];
meta = {
homepage = https://github.com/aresch/rencode;
description = "Fast (basic) object serialization similar to bencode";
license = licenses.gpl3;
};
};
rencode = callPackage ../development/python-modules/rencode { };
reportlab = callPackage ../development/python-modules/reportlab { };