pythonPackages.threadpool: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 17:25:58 -04:00
parent 6fd3323d26
commit 6afd56f61a
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 = "threadpool";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "197gzrxn9lbk0q1v079814c6s05cr4rwzyl6c1m6inkyif4yzr6c";
};
meta = with stdenv.lib; {
homepage = http://chrisarndt.de/projects/threadpool/;
description = "Easy to use object-oriented thread pool framework";
license = licenses.mit;
};
}

View file

@ -4597,15 +4597,7 @@ in {
tvnamer = callPackage ../development/python-modules/tvnamer { };
threadpool = buildPythonPackage rec {
name = "threadpool-${version}";
version = "1.3.2";
src = pkgs.fetchurl {
url = "mirror://pypi/t/threadpool/${name}.tar.bz2";
sha256 = "197gzrxn9lbk0q1v079814c6s05cr4rwzyl6c1m6inkyif4yzr6c";
};
};
threadpool = callPackage ../development/python-modules/threadpool { };
rocket-errbot = callPackage ../development/python-modules/rocket-errbot { };