Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
870 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pytest-cov-stub, lxml, lxml-html-clean,}:
buildPythonPackage rec { pname = "justext"; version = "3.0.2"; format = "setuptools";
src = fetchFromGitHub { owner = "miso-belica"; repo = "jusText"; tag = "v${version}"; hash = "sha256-/7wp41jz/5nUFqZNg4O7yF2+eE+awAEXp6dhD+Loc0U="; };
propagatedBuildInputs = [ lxml lxml-html-clean ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ];
pythonImportsCheck = [ "justext" ];
meta = with lib; { description = "Heuristic based boilerplate removal tool"; homepage = "https://github.com/miso-belica/jusText"; changelog = "https://github.com/miso-belica/jusText/blob/${src.tag}/CHANGELOG.rst"; license = licenses.bsd2; maintainers = with maintainers; [ jokatzke ]; };}