pythonPackages.threadpool: refactor move to python-modules
This commit is contained in:
parent
6fd3323d26
commit
6afd56f61a
2 changed files with 22 additions and 9 deletions
21
pkgs/development/python-modules/threadpool/default.nix
Normal file
21
pkgs/development/python-modules/threadpool/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue