pythonPackages.sh: 1.11 -> 1.12.14
- Enable unit tests. - Add MIT license.
This commit is contained in:
parent
5b1e005bb6
commit
9f327caa1f
@ -6729,18 +6729,25 @@ in {
|
|||||||
|
|
||||||
|
|
||||||
sh = buildPythonPackage rec {
|
sh = buildPythonPackage rec {
|
||||||
name = "sh-1.11";
|
pname = "sh";
|
||||||
|
version = "1.12.14";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/s/sh/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "590fb9b84abf8b1f560df92d73d87965f1e85c6b8330f8a5f6b336b36f0559a4";
|
sha256 = "1z2hx357xp3v4cv44xmqp7lli3frndqpyfmpbxf7n76h7s1zaaxm";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
buildInputs = with self; [ coverage ];
|
||||||
|
|
||||||
|
# A test needs the HOME directory to be different from $TMPDIR.
|
||||||
|
preCheck = ''
|
||||||
|
HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python subprocess interface";
|
description = "Python subprocess interface";
|
||||||
homepage = https://pypi.python.org/pypi/sh/;
|
homepage = https://pypi.python.org/pypi/sh/;
|
||||||
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user