pythonPackages.sh: move to python-modules
This commit is contained in:
parent
9f327caa1f
commit
5e4fd34cfe
24
pkgs/development/python-modules/sh/default.nix
Normal file
24
pkgs/development/python-modules/sh/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, coverage }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sh";
|
||||||
|
version = "1.12.14";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1z2hx357xp3v4cv44xmqp7lli3frndqpyfmpbxf7n76h7s1zaaxm";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ coverage ];
|
||||||
|
|
||||||
|
# A test needs the HOME directory to be different from $TMPDIR.
|
||||||
|
preCheck = ''
|
||||||
|
HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python subprocess interface";
|
||||||
|
homepage = https://pypi.python.org/pypi/sh/;
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -6727,30 +6727,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sh = callPackage ../development/python-modules/sh { };
|
||||||
sh = buildPythonPackage rec {
|
|
||||||
pname = "sh";
|
|
||||||
version = "1.12.14";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1z2hx357xp3v4cv44xmqp7lli3frndqpyfmpbxf7n76h7s1zaaxm";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ coverage ];
|
|
||||||
|
|
||||||
# A test needs the HOME directory to be different from $TMPDIR.
|
|
||||||
preCheck = ''
|
|
||||||
HOME=$(mktemp -d)
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Python subprocess interface";
|
|
||||||
homepage = https://pypi.python.org/pypi/sh/;
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
sipsimple = buildPythonPackage rec {
|
sipsimple = buildPythonPackage rec {
|
||||||
name = "sipsimple-${version}";
|
name = "sipsimple-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user