nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 752 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 xmltodict, 7}: 8 9buildPythonPackage rec { 10 pname = "meteoalertapi"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "rolfberkenbosch"; 16 repo = "meteoalert-api"; 17 tag = "v${version}"; 18 hash = "sha256-Imb4DVcNB3QiVSCLCI+eKpfl73aMn4NIItQVf7p0H+E="; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 xmltodict 24 ]; 25 26 # Tests require network access 27 doCheck = false; 28 29 pythonImportsCheck = [ "meteoalertapi" ]; 30 31 meta = { 32 description = "Python wrapper for MeteoAlarm.org"; 33 homepage = "https://github.com/rolfberkenbosch/meteoalert-api"; 34 license = with lib.licenses; [ mit ]; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}