nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 37 lines 793 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 poetry-core, 7}: 8 9buildPythonPackage rec { 10 pname = "pynordpool"; 11 version = "0.3.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "gjohansson-ST"; 16 repo = "pynordpool"; 17 tag = "v${version}"; 18 hash = "sha256-3yMVhdfjl2l56WzI+uRMUwFuYafSH3YfabYqKSK25Y4="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 dependencies = [ aiohttp ]; 24 25 # Module has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "pynordpool" ]; 29 30 meta = { 31 description = "Python api for Nordpool"; 32 homepage = "https://github.com/gjohansson-ST/pynordpool"; 33 changelog = "https://github.com/gjohansson-ST/pynordpool/releases/tag/${src.tag}"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}