32 lines
596 B
Nix
32 lines
596 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
pycurl,
|
||
|
six,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "urlgrabber";
|
||
|
version = "4.1.0";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "075af8afabae6362482d254e5ac3ffa595d1766117b684e53d9c25c2e937e139";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
pycurl
|
||
|
six
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "http://urlgrabber.baseurl.org";
|
||
|
license = licenses.lgpl2Plus;
|
||
|
description = "Python module for downloading files";
|
||
|
mainProgram = "urlgrabber";
|
||
|
maintainers = with maintainers; [ qknight ];
|
||
|
};
|
||
|
}
|