pythonPackages.setproctitle: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:29:09 -04:00
parent e0d6142ed8
commit 13352bb720
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 16 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "python-setproctitle";
version = "1.1.9";
src = fetchPypi {
inherit pname version;
sha256 = "1mqadassxcm0m9r1l02m5vr4bbandn48xz8gifvxmb4wiz8i8d0w";
};
meta = with stdenv.lib; {
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
homepage = https://github.com/dvarrazzo/py-setproctitle;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ exi ];
};
}

View File

@ -4425,22 +4425,7 @@ in {
evernote = callPackage ../development/python-modules/evernote { };
setproctitle = buildPythonPackage rec {
name = "python-setproctitle-${version}";
version = "1.1.9";
src = pkgs.fetchurl {
url = "mirror://pypi/s/setproctitle/setproctitle-${version}.tar.gz";
sha256 = "1mqadassxcm0m9r1l02m5vr4bbandn48xz8gifvxmb4wiz8i8d0w";
};
meta = {
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
homepage = https://github.com/dvarrazzo/py-setproctitle;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ exi ];
};
};
setproctitle = callPackage ../development/python-modules/setproctitle { };
thrift = buildPythonPackage rec {
name = "thrift-${version}";