Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
883 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, jinja2, setuptools-scm, shtab, tomli, pytestCheckHook}:
buildPythonPackage rec { pname = "help2man"; version = "0.0.9"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "Freed-Wu"; repo = "help2man"; rev = version; hash = "sha256-BIDn+LQzBtDHUtFvIRL3NMXNouO3cMLibuYBoFtCUxI="; };
nativeBuildInputs = [ jinja2 setuptools-scm shtab tomli ];
propagatedBuildInputs = [ jinja2 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "help2man" ];
meta = with lib; { description = "Convert --help and --version to man page"; homepage = "https://github.com/Freed-Wu/help2man"; license = licenses.gpl3Only; maintainers = with maintainers; [ natsukium ]; mainProgram = "help2man"; };}