mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
36 lines
673 B
Nix
36 lines
673 B
Nix
{ lib
|
|
, aiohttp
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyemby";
|
|
version = "1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mezz64";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-4mOQLfPbRzZzpNLvekJHVKiqdGGKPhW6BpKkyRfk2Pc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|