depot/third_party/nixpkgs/pkgs/development/python-modules/pyemby/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
705 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "pyemby";
version = "1.9";
format = "setuptools";
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 ];
};
}