diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-08-05 22:31:56 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-08-05 22:31:56 +0200 |
commit | 9579d6eb9f8baf358808c78888b615e4f03f895d (patch) | |
tree | 4ce2fb140bdb6e17862d8bb026eea718d4084ecf /pkgs/development/python-modules/adax | |
parent | 6dc0549183672acd39d735a465098ca9deeff6ad (diff) |
python3Packages.adax: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/adax')
-rw-r--r-- | pkgs/development/python-modules/adax/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/adax/default.nix b/pkgs/development/python-modules/adax/default.nix new file mode 100644 index 0000000000000..849d0d9cf8c12 --- /dev/null +++ b/pkgs/development/python-modules/adax/default.nix @@ -0,0 +1,37 @@ +{ lib +, aiohttp +, async-timeout +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "adax"; + version = "0.1.0"; + disabled = pythonOlder "3.5"; + + src = fetchFromGitHub { + owner = "Danielhiversen"; + repo = "pyadax"; + rev = version; + sha256 = "06qk8xbv8lsaabdpi6pclnbkp3vmb4k18spahldazqj8235ii237"; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "adax" ]; + + meta = with lib; { + description = "Python module to communicate with Adax"; + homepage = "https://github.com/Danielhiversen/pyAdax"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |