mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
pythonPackages.sandboxlib: refactor move to python-modules
This commit is contained in:
parent
77df3ef7a7
commit
f6944a991a
26
pkgs/development/python-modules/sandboxlib/default.nix
Normal file
26
pkgs/development/python-modules/sandboxlib/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user