python3Packages.pontos: init at 21.7.4
This commit is contained in:
parent
d9de842f58
commit
e864d443be
57
pkgs/development/python-modules/pontos/default.nix
Normal file
57
pkgs/development/python-modules/pontos/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, colorful
|
||||
, tomlkit
|
||||
, git
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pontos";
|
||||
version = "21.7.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "12z74fp21kv6jf4cwc4hd5xvl5lilhmpprcqimdg85pcddc4zwc2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorful
|
||||
tomlkit
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Signing fails
|
||||
"test_find_no_signing_key"
|
||||
"test_find_signing_key"
|
||||
"test_find_unreleased_information"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pontos" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of Python utilities, tools, classes and functions";
|
||||
homepage = "https://github.com/greenbone/pontos";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5582,6 +5582,8 @@ in {
|
||||
|
||||
pomegranate = callPackage ../development/python-modules/pomegranate { };
|
||||
|
||||
pontos = callPackage ../development/python-modules/pontos { };
|
||||
|
||||
pony = callPackage ../development/python-modules/pony { };
|
||||
|
||||
ponywhoosh = callPackage ../development/python-modules/ponywhoosh { };
|
||||
|
Loading…
Reference in New Issue
Block a user