diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-06-09 10:35:53 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-06-09 10:35:53 +0200 |
commit | a87aa4a2769b8675d9750d7e3b61ca6a515b1656 (patch) | |
tree | b6eb0a76010cf86b90270e82aee9bfc90b8c31bb /pkgs/development/python-modules/aiotractive | |
parent | 8f34dc40570e4bc8e395c36be751c64ca177b38d (diff) |
python3Packages.aiotractive: init at 0.5.1
Diffstat (limited to 'pkgs/development/python-modules/aiotractive')
-rw-r--r-- | pkgs/development/python-modules/aiotractive/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiotractive/default.nix b/pkgs/development/python-modules/aiotractive/default.nix new file mode 100644 index 0000000000000..78d9ef43501e2 --- /dev/null +++ b/pkgs/development/python-modules/aiotractive/default.nix @@ -0,0 +1,37 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, yarl +}: + +buildPythonPackage rec { + pname = "aiotractive"; + version = "0.5.1"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "zhulik"; + repo = pname; + rev = "v${version}"; + sha256 = "09zbca84dn1sprwqpfanmxxnmaknbzjz98xa87agpgy8xb3wpw7j"; + }; + + propagatedBuildInputs = [ + aiohttp + yarl + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "aiotractive" ]; + + meta = with lib; { + description = "Python client for the Tractive REST API"; + homepage = "https://github.com/zhulik/aiotractive"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |