mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
python3Packages.ripe-atlas-cousteau: init at 1.5.1 (#155270)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
6c6ec1e34a
commit
bc04edf2b5
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, python-dateutil
|
||||
, python-socketio
|
||||
, requests
|
||||
, jsonschema
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ripe-atlas-cousteau";
|
||||
version = "1.5.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RIPE-NCC";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-EHZt9Po/1wDwDacXUCVGcuVSOwcIkPCT2JCKGchu8G4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'python-socketio[client]<5' 'python-socketio[client]<6'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
requests
|
||||
python-socketio
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
jsonschema
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ripe.atlas.cousteau"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client library for RIPE ATLAS API";
|
||||
homepage = "https://github.com/RIPE-NCC/ripe-atlas-cousteau";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ raitobezarius ];
|
||||
};
|
||||
}
|
@ -9517,6 +9517,8 @@ in {
|
||||
|
||||
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
|
||||
|
||||
ripe-atlas-cousteau = callPackage ../development/python-modules/ripe-atlas-cousteau { };
|
||||
|
||||
riprova = callPackage ../development/python-modules/riprova { };
|
||||
|
||||
ripser = callPackage ../development/python-modules/ripser { };
|
||||
|
Loading…
Reference in New Issue
Block a user