pythonPackages.sandboxlib: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 09:56:20 -04:00
parent 77df3ef7a7
commit f6944a991a
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pbr
, isPy3k
}:
buildPythonPackage rec {
pname = "sandboxlib";
version = "0.31";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0csj8hbpylqdkxcpqkcfs73dfvdqkyj23axi8m9drqdi4dhxb41h";
};
buildInputs = [ pbr ];
meta = with stdenv.lib; {
description = "Sandboxing Library for Python";
homepage = https://pypi.python.org/pypi/sandboxlib/0.3.1;
license = licenses.gpl2;
};
}

View File

@ -3821,25 +3821,7 @@ in {
semantic = callPackage ../development/python-modules/semantic { };
sandboxlib = buildPythonPackage rec {
name = "sandboxlib-${version}";
version = "0.31";
disabled = isPy3k;
buildInputs = [ self.pbr ];
src = pkgs.fetchurl {
url = "mirror://pypi/s/sandboxlib/sandboxlib-0.3.1.tar.gz";
sha256 = "0csj8hbpylqdkxcpqkcfs73dfvdqkyj23axi8m9drqdi4dhxb41h";
};
meta = {
description = "Sandboxing Library for Python";
homepage = https://pypi.python.org/pypi/sandboxlib/0.3.1;
license = licenses.gpl2;
};
};
sandboxlib = callPackage ../development/python-modules/sandboxlib { };
scales = buildPythonPackage rec {
name = "scales-${version}";