nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jsonschema, 6 pytestCheckHook, 7 python-dateutil, 8 requests, 9 setuptools, 10 typing-extensions, 11 websocket-client, 12}: 13 14buildPythonPackage rec { 15 pname = "ripe-atlas-cousteau"; 16 version = "2.0.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "RIPE-NCC"; 21 repo = "ripe-atlas-cousteau"; 22 tag = "v${version}"; 23 hash = "sha256-z8ZXOiCVYughrbmXfnwtks7NPmYpII2BA0+8mr1cdSQ="; 24 }; 25 26 pythonRelaxDeps = [ "websocket-client" ]; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 python-dateutil 32 requests 33 typing-extensions 34 websocket-client 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 jsonschema 40 ]; 41 42 pythonImportsCheck = [ "ripe.atlas.cousteau" ]; 43 44 meta = { 45 description = "Python client library for RIPE ATLAS API"; 46 homepage = "https://github.com/RIPE-NCC/ripe-atlas-cousteau"; 47 changelog = "https://github.com/RIPE-NCC/ripe-atlas-cousteau/blob/v${version}/CHANGES.rst"; 48 license = lib.licenses.gpl3Only; 49 maintainers = with lib.maintainers; [ raitobezarius ]; 50 }; 51}