1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/auroranoaa/default.nix
2021-02-13 14:57:10 +01:00

33 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 ];
};
}