pythonPackages.sh: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 10:02:48 -04:00
parent 97c89d95d7
commit 43584c3161
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 24 additions and 16 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sh";
version = "1.11";
src = fetchPypi {
inherit pname version;
sha256 = "590fb9b84abf8b1f560df92d73d87965f1e85c6b8330f8a5f6b336b36f0559a4";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Python subprocess interface";
homepage = https://pypi.python.org/pypi/sh/;
license = licenses.mit;
};
}

View File

@ -3833,22 +3833,7 @@ in {
sexpdata = callPackage ../development/python-modules/sexpdata { }; sexpdata = callPackage ../development/python-modules/sexpdata { };
sh = buildPythonPackage rec { sh = callPackage ../development/python-modules/sh { };
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}";