Merge pull request #48892 from sveitser/update/pythonPackages.sh

pythonPackages.sh: 1.11 -> 1.12.14
This commit is contained in:
Robert Schütz 2018-10-29 14:21:36 +01:00 committed by GitHub
commit 8f415fdf80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 18 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, sh }: { stdenv, buildPythonPackage, fetchPypi, fetchpatch, sh }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-packer"; pname = "python-packer";
@ -9,6 +9,12 @@ buildPythonPackage rec {
sha256 = "fd363dae9bd2efd447739bbf7a4f29c1e4741596ae7b02d252fe525b2b4176e7"; sha256 = "fd363dae9bd2efd447739bbf7a4f29c1e4741596ae7b02d252fe525b2b4176e7";
}; };
patches = fetchpatch {
url = "${meta.homepage}/commit/de3421bf13bf7c3ec11fe0a381f0944e102b1d97.patch";
excludes = [ "dev-requirements.txt" ];
sha256 = "0rgmkyn7i6y1xs8m75dpl8hq7j2ns2s3dvp7kv9j4zwic93rrlsc";
};
propagatedBuildInputs = [ sh ]; propagatedBuildInputs = [ sh ];
# Tests requires network connections # Tests requires network connections

View 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;
};
}

View File

@ -6751,23 +6751,7 @@ in {
}; };
}; };
sh = callPackage ../development/python-modules/sh { };
sh = buildPythonPackage rec {
name = "sh-1.11";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sh/${name}.tar.gz";
sha256 = "590fb9b84abf8b1f560df92d73d87965f1e85c6b8330f8a5f6b336b36f0559a4";
};
doCheck = false;
meta = {
description = "Python subprocess interface";
homepage = https://pypi.python.org/pypi/sh/;
};
};
sipsimple = buildPythonPackage rec { sipsimple = buildPythonPackage rec {
name = "sipsimple-${version}"; name = "sipsimple-${version}";