Merge pull request #155267 from RaitoBezarius/ripe-atlas-sagan

python3Packages.ripe-atlas-sagan: init at 1.3.1
This commit is contained in:
Fabian Affolter
2022-08-23 10:32:34 +02:00
committed by GitHub
2 changed files with 63 additions and 0 deletions
@@ -0,0 +1,61 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, python-dateutil
, pythonOlder
, pytz
, ujson
}:
buildPythonPackage rec {
pname = "ripe-atlas-sagan";
version = "1.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "RIPE-NCC";
repo = pname;
rev = "v${version}";
hash = "sha256-xIBIKsQvDmVBa/C8/7Wr3WKeepHaGhoXlgatXSUtWLA=";
};
propagatedBuildInputs = [
cryptography
python-dateutil
pytz
];
passthru.optional-dependencies = {
fast = [
ujson
];
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/*.py"
];
disabledTests = [
# This test fail for unknown reason, I suspect it to be flaky.
"test_invalid_country_code"
];
pythonImportsCheck = [
"ripe.atlas.sagan"
];
meta = with lib; {
description = "A parsing library for RIPE Atlas measurements results";
homepage = "https://github.com/RIPE-NCC/ripe-atlas-sagan";
license = licenses.gpl3Only;
maintainers = with maintainers; [ raitobezarius ];
};
}
+2
View File
@@ -9532,6 +9532,8 @@ in {
ripe-atlas-cousteau = callPackage ../development/python-modules/ripe-atlas-cousteau { };
ripe-atlas-sagan = callPackage ../development/python-modules/ripe-atlas-sagan { };
riprova = callPackage ../development/python-modules/riprova { };
ripser = callPackage ../development/python-modules/ripser { };