Files
nixpkgs/pkgs/development/python-modules/htmllistparse/default.nix
T
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

39 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, beautifulsoup4
, html5lib
, requests
, fusepy
}:
buildPythonPackage rec {
pname = "htmllistparse";
version = "0.6.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bcimvwPIQ7nTJYQ6JqI1GnlbVzzZKiybgnFiEBnGQII=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ beautifulsoup4 html5lib requests fusepy ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"htmllistparse"
];
meta = with lib; {
homepage = "https://github.com/gumblex/htmllisting-parser";
description = "Python parser for Apache/nginx-style HTML directory listing";
mainProgram = "rehttpfs";
license = licenses.mit;
maintainers = with maintainers; [ hexchen ];
};
}