pythonPackages.queuelib: refactor move to python-modules
This commit is contained in:
parent
3ae4a36ae3
commit
89623a675e
25
pkgs/development/python-modules/queuelib/default.nix
Normal file
25
pkgs/development/python-modules/queuelib/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "queuelib";
|
||||||
|
version = "1.4.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A collection of persistent (disk-based) queues for Python";
|
||||||
|
homepage = "https://github.com/scrapy/queuelib";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ drewkett ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4541,24 +4541,7 @@ in {
|
|||||||
|
|
||||||
w3lib = callPackage ../development/python-modules/w3lib { };
|
w3lib = callPackage ../development/python-modules/w3lib { };
|
||||||
|
|
||||||
queuelib = buildPythonPackage rec {
|
queuelib = callPackage ../development/python-modules/queuelib { };
|
||||||
name = "queuelib-${version}";
|
|
||||||
version = "1.4.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/q/queuelib/${name}.tar.gz";
|
|
||||||
sha256 = "a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self ; [ pytest ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A collection of persistent (disk-based) queues for Python";
|
|
||||||
homepage = "https://github.com/scrapy/queuelib";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
maintainers = with maintainers; [ drewkett ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
scrapy = callPackage ../development/python-modules/scrapy { };
|
scrapy = callPackage ../development/python-modules/scrapy { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user