depot/third_party/nixpkgs/pkgs/development/python-modules/auroranoaa/default.nix
Default email 29574b70c6 Project import generated by Copybara.
GitOrigin-RevId: 64b4617883844efe0cc20163e007ee636462eb18
2021-02-16 18:04:54 +01:00

32 lines
694 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "auroranoaa";
version = "0.0.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "djtimca";
repo = "aurora-api";
rev = version;
sha256 = "0bh8amixkg3xigwh3ryra22x6kzhbdassmf1iqv20lhbvzmsqjv0";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "auroranoaa" ];
meta = with lib; {
description = "Python wrapper for the Aurora API";
homepage = "https://github.com/djtimca/aurora-api";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}