Merge pull request #48892 from sveitser/update/pythonPackages.sh
pythonPackages.sh: 1.11 -> 1.12.14
This commit is contained in:
commit
8f415fdf80
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, sh }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, sh }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-packer";
|
||||
@ -9,6 +9,12 @@ buildPythonPackage rec {
|
||||
sha256 = "fd363dae9bd2efd447739bbf7a4f29c1e4741596ae7b02d252fe525b2b4176e7";
|
||||
};
|
||||
|
||||
patches = fetchpatch {
|
||||
url = "${meta.homepage}/commit/de3421bf13bf7c3ec11fe0a381f0944e102b1d97.patch";
|
||||
excludes = [ "dev-requirements.txt" ];
|
||||
sha256 = "0rgmkyn7i6y1xs8m75dpl8hq7j2ns2s3dvp7kv9j4zwic93rrlsc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sh ];
|
||||
|
||||
# Tests requires network connections
|
||||
|
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;
|
||||
};
|
||||
}
|
@ -6751,23 +6751,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
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/;
|
||||
};
|
||||
};
|
||||
|
||||
sh = callPackage ../development/python-modules/sh { };
|
||||
|
||||
sipsimple = buildPythonPackage rec {
|
||||
name = "sipsimple-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user