nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 41 lines 852 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 geopy, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aemet-opendata"; 12 version = "0.6.4"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "Noltari"; 17 repo = "AEMET-OpenData"; 18 tag = version; 19 hash = "sha256-xxpB5JFPkTwd7dxba9pXRvcont/i3wXBdJh5NfLnZTM="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 aiohttp 26 geopy 27 ]; 28 29 # no tests implemented 30 doCheck = false; 31 32 pythonImportsCheck = [ "aemet_opendata.interface" ]; 33 34 meta = { 35 description = "Python client for AEMET OpenData Rest API"; 36 homepage = "https://github.com/Noltari/AEMET-OpenData"; 37 changelog = "https://github.com/Noltari/AEMET-OpenData/releases/tag/${version}"; 38 license = lib.licenses.gpl2Only; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}