depot/third_party/nixpkgs/pkgs/development/python-modules/pymee/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
841 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
websockets,
}:
buildPythonPackage rec {
pname = "pymee";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "FreshlyBrewedCode";
repo = "pymee";
rev = "refs/tags/v${version}";
hash = "sha256-4XKd0lZ6RAsG2zXjKMUeST6cNcg+SjT371gxLIhxkAA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
websockets
];
pythonImportsCheck = [ "pymee" ];
# no tests
doCheck = false;
meta = {
description = "Python library to interact with homee";
homepage = "https://github.com/FreshlyBrewedCode/pymee";
changelog = "https://github.com/FreshlyBrewedCode/pymee/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}