depot/third_party/nixpkgs/pkgs/development/python-modules/pyblu/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

49 lines
926 B
Nix

{
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
lxml,
poetry-core,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyblu";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "LouisChrist";
repo = "pyblu";
rev = "refs/tags/v${version}";
hash = "sha256-BDuptBC72XG+q/5MlbPMjYDIhWKg4gfEo2pLOflwQaM=";
};
pythonRelaxDeps = [ "aiohttp" ];
build-system = [ poetry-core ];
dependencies = [
aiohttp
lxml
];
pythonImportsCheck = [ "pyblu" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/LouisChrist/pyblu/releases/tag/v${version}";
description = "BluOS API client";
homepage = "https://github.com/LouisChrist/pyblu";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}