nixpkgs/pkgs/development/python-modules/urlgrabber/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
575 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 ];
};
}