pythonPackages.daemonize: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:47:57 -04:00
parent ab96dd445e
commit d4cf05070c
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 22 additions and 9 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "daemonize";
version = "2.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0y139sq657bpzfv6k0aqm4071z4s40i6ybpni9qvngvdcz6r86n2";
};
meta = with stdenv.lib; {
description = "Library to enable your code run as a daemon process on Unix-like systems";
homepage = https://github.com/thesharp/daemonize;
license = licenses.mit;
};
}

View File

@ -4369,15 +4369,7 @@ in {
canonicaljson = callPackage ../development/python-modules/canonicaljson { };
daemonize = buildPythonPackage rec {
name = "daemonize-${version}";
version = "2.4.2";
src = pkgs.fetchurl {
url = "mirror://pypi/d/daemonize/daemonize-${version}.tar.gz";
sha256 = "0y139sq657bpzfv6k0aqm4071z4s40i6ybpni9qvngvdcz6r86n2";
};
};
daemonize = callPackage ../development/python-modules/daemonize { };
pydenticon = buildPythonPackage rec {
name = "pydenticon-${version}";