nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 778 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6 async-timeout, 7 xmltodict, 8}: 9 10buildPythonPackage rec { 11 pname = "pymetno"; 12 version = "0.13.0"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "Danielhiversen"; 17 repo = "PyMetno"; 18 tag = version; 19 hash = "sha256-0QODCJmGxgSKsTbsq4jsoP3cTy/0y6hq63j36bj7Dvo="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 async-timeout 25 xmltodict 26 ]; 27 28 pythonImportsCheck = [ "metno" ]; 29 30 # Project has no tests 31 doCheck = false; 32 33 meta = { 34 description = "Library to communicate with the met.no API"; 35 homepage = "https://github.com/Danielhiversen/pyMetno/"; 36 changelog = "https://github.com/Danielhiversen/pyMetno/releases/tag/${version}"; 37 license = lib.licenses.mit; 38 }; 39}