nixpkgs/pkgs/development/python-modules/pyemby/default.nix

36 lines
676 B
Nix
Raw Normal View History

2021-04-11 12:38:19 +01:00
{ 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 ];
};
}