Merge pull request #119128 from fabaff/pyemby

This commit is contained in:
Sandro 2021-04-11 23:07:10 +02:00 committed by GitHub
commit e0ab35fae4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

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

View file

@ -215,7 +215,7 @@
"eliqonline" = ps: with ps; [ ]; # missing inputs: eliqonline
"elkm1" = ps: with ps; [ ]; # missing inputs: elkm1-lib
"elv" = ps: with ps; [ ]; # missing inputs: pypca
"emby" = ps: with ps; [ ]; # missing inputs: pyemby
"emby" = ps: with ps; [ pyemby ];
"emoncms" = ps: with ps; [ ];
"emoncms_history" = ps: with ps; [ ];
"emulated_hue" = ps: with ps; [ aiohttp-cors ];

View file

@ -5724,6 +5724,8 @@ in {
pyelftools = callPackage ../development/python-modules/pyelftools { };
pyemby = callPackage ../development/python-modules/pyemby { };
pyemd = callPackage ../development/python-modules/pyemd { };
pyenchant = callPackage ../development/python-modules/pyenchant {