depot/third_party/nixpkgs/pkgs/development/python-modules/pyemby/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

43 lines
795 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyemby";
version = "1.10";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mezz64";
repo = "pyemby";
rev = "refs/tags/${version}";
hash = "sha256-+A/SNMCUqo9TwWsQXwOKJCqmYhbilIdHYazLNQY+NkU=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
async-timeout
];
# Module 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 = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}