depot/third_party/nixpkgs/pkgs/development/python-modules/pymetno/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
677 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, async-timeout
, pytz
, xmltodict
}:
buildPythonPackage rec {
pname = "PyMetno";
version = "0.5.0";
src = fetchFromGitHub {
repo = pname;
owner = "Danielhiversen";
rev = version;
sha256 = "00v2r3nn48svni9rbmbf0a4ylgfcf93gk2wg7qnm1fv1qrkgscvg";
};
propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ];
pythonImportsCheck = [ "metno"];
meta = with stdenv.lib; {
description = "A library to communicate with the met.no api";
homepage = "https://github.com/Danielhiversen/pyMetno/";
license = licenses.mit;
maintainers = with maintainers; [ flyfloh ];
};
}