Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 677 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5, async-timeout 6, pytz 7, xmltodict 8}: 9 10buildPythonPackage rec { 11 pname = "PyMetno"; 12 version = "0.5.1"; 13 14 src = fetchFromGitHub { 15 repo = pname; 16 owner = "Danielhiversen"; 17 rev = version; 18 sha256 = "1ihq1lzgzcxbg916izakx9jp0kp1vdrcdwcwwwsws838wc08ax6m"; 19 }; 20 21 propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ]; 22 23 pythonImportsCheck = [ "metno"]; 24 25 meta = with stdenv.lib; { 26 description = "A library to communicate with the met.no api"; 27 homepage = "https://github.com/Danielhiversen/pyMetno/"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ flyfloh ]; 30 }; 31}