pythonPackages.w3lib: refactor move to python-modules
This commit is contained in:
parent
b794f35441
commit
3ae4a36ae3
26
pkgs/development/python-modules/w3lib/default.nix
Normal file
26
pkgs/development/python-modules/w3lib/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, six
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "w3lib";
|
||||||
|
version = "1.17.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0vshh300ay5wn5hwl9qcb32m71pz5s6miy0if56vm4nggy159inq";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ six pytest ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A library of web-related functions";
|
||||||
|
homepage = "https://github.com/scrapy/w3lib";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ drewkett ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4539,24 +4539,7 @@ in {
|
|||||||
|
|
||||||
topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22
|
topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22
|
||||||
|
|
||||||
w3lib = buildPythonPackage rec {
|
w3lib = callPackage ../development/python-modules/w3lib { };
|
||||||
name = "w3lib-${version}";
|
|
||||||
version = "1.17.0";
|
|
||||||
|
|
||||||
buildInputs = with self ; [ six pytest ];
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/w/w3lib/${name}.tar.gz";
|
|
||||||
sha256 = "0vshh300ay5wn5hwl9qcb32m71pz5s6miy0if56vm4nggy159inq";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A library of web-related functions";
|
|
||||||
homepage = "https://github.com/scrapy/w3lib";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
maintainers = with maintainers; [ drewkett ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
queuelib = buildPythonPackage rec {
|
queuelib = buildPythonPackage rec {
|
||||||
name = "queuelib-${version}";
|
name = "queuelib-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user