diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-04-11 23:07:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 23:07:10 +0200 |
commit | e0ab35fae4d1dfba5c98b390cee2fe6c04284276 (patch) | |
tree | ffa4e1978f31a535ba7574a2def768337466daa3 /pkgs/development/python-modules/pyemby/default.nix | |
parent | 1c518b1523417cc64e6f7bfd6e19845e432019ca (diff) | |
parent | d7e919c60ff5e1a6b9b483e28e8a656f6a04c1c2 (diff) | |
download | nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar.gz nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar.bz2 nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar.lz nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar.xz nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.tar.zst nixlib-e0ab35fae4d1dfba5c98b390cee2fe6c04284276.zip |
Merge pull request #119128 from fabaff/pyemby
Diffstat (limited to 'pkgs/development/python-modules/pyemby/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyemby/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyemby/default.nix b/pkgs/development/python-modules/pyemby/default.nix new file mode 100644 index 000000000000..81c015df35cb --- /dev/null +++ b/pkgs/development/python-modules/pyemby/default.nix @@ -0,0 +1,35 @@ +{ lib +, aiohttp +, async-timeout +, buildPythonPackage +, fetchFromGitHub +}: + +buildPythonPackage rec { + pname = "pyemby"; + version = "1.7"; + + src = fetchFromGitHub { + owner = "mezz64"; + repo = pname; + rev = version; + sha256 = "04fvpv3fz4q160s4ikldwxflxl1zbxgfgy9qs6grgpnd23p0ylk8"; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "pyemby" ]; + + meta = with lib; { + description = "Python library to interface with the Emby API"; + homepage = "https://github.com/mezz64/pyemby"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |