From e8d4afeb1cb05c739f465286614e010af4d3d8c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Feb 2021 14:57:10 +0100 Subject: [PATCH] python3Packages.auroranoaa: init at 0.0.2 --- .../python-modules/auroranoaa/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/auroranoaa/default.nix diff --git a/pkgs/development/python-modules/auroranoaa/default.nix b/pkgs/development/python-modules/auroranoaa/default.nix new file mode 100644 index 000000000000..5d3fe1ff15dd --- /dev/null +++ b/pkgs/development/python-modules/auroranoaa/default.nix @@ -0,0 +1,32 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 17f6624c42ea..39392050bb94 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -542,6 +542,8 @@ in { augeas = callPackage ../development/python-modules/augeas { inherit (pkgs) augeas; }; + auroranoaa = callPackage ../development/python-modules/auroranoaa { }; + auth0-python = callPackage ../development/python-modules/auth0-python { }; authheaders = callPackage ../development/python-modules/authheaders { };