Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 83 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ lib, buildPythonPackage, colorful, fetchFromGitHub, git, httpx, lxml, packaging, poetry-core, pytestCheckHook, python-dateutil, pythonOlder, semver, rich, tomlkit, typing-extensions}:
buildPythonPackage rec { pname = "pontos"; version = "23.6.0"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "greenbone"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-NWhDKcxA4lFOPLYH12FGqfsErIKp+Lsrjy0adFIKEWc="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ colorful httpx lxml packaging python-dateutil semver rich typing-extensions tomlkit ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ] ++ httpx.optional-dependencies.http2;
nativeCheckInputs = [ git pytestCheckHook ];
disabledTests = [ "PrepareTestCase" # Signing fails "test_find_no_signing_key" "test_find_signing_key" "test_find_unreleased_information" # CLI test fails "test_missing_cmd" "test_update_file_changed" # Network access "test_fail_sign_on_upload_fail" "test_successfully_sign" # calls git log, but our fetcher removes .git "test_git_error" ];
pythonImportsCheck = [ "pontos" ];
meta = with lib; { description = "Collection of Python utilities, tools, classes and functions"; homepage = "https://github.com/greenbone/pontos"; changelog = "https://github.com/greenbone/pontos/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; };}