pythonPackages.rencode: refactor move to python-modules
This commit is contained in:
parent
14ed72da04
commit
83416aa102
27
pkgs/development/python-modules/rencode/default.nix
Normal file
27
pkgs/development/python-modules/rencode/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue