pythonPackages.sh: 1.11 -> 1.12.14

- Enable unit tests.
- Add MIT license.
This commit is contained in:
sveitser 2018-10-23 23:17:43 +08:00
parent 5b1e005bb6
commit 9f327caa1f
No known key found for this signature in database
GPG key ID: 765E892DAE70682C

View file

@ -6729,18 +6729,25 @@ in {
sh = buildPythonPackage rec {
name = "sh-1.11";
pname = "sh";
version = "1.12.14";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sh/${name}.tar.gz";
sha256 = "590fb9b84abf8b1f560df92d73d87965f1e85c6b8330f8a5f6b336b36f0559a4";
src = fetchPypi {
inherit pname version;
sha256 = "1z2hx357xp3v4cv44xmqp7lli3frndqpyfmpbxf7n76h7s1zaaxm";
};
doCheck = false;
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;
};
};