mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 15:23:43 +00:00
Diff: https://github.com/newAM/idasen/compare/v0.12.0...v0.13.1 Changelog: https://github.com/newAM/idasen/blob/v0.13.1/CHANGELOG.md
49 lines
950 B
Nix
49 lines
950 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
bleak,
|
|
pyyaml,
|
|
voluptuous,
|
|
pytestCheckHook,
|
|
pytest-asyncio,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "idasen";
|
|
version = "0.13.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "newAM";
|
|
repo = "idasen";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-ejKfXAVvHyWIkg06XqC2pKJjpPuOgHEciPzBb/TGiSU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
bleak
|
|
pyyaml
|
|
voluptuous
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
];
|
|
|
|
pythonImportsCheck = [ "idasen" ];
|
|
|
|
meta = {
|
|
description = "Python API and CLI for the ikea IDÅSEN desk";
|
|
mainProgram = "idasen";
|
|
homepage = "https://github.com/newAM/idasen";
|
|
changelog = "https://github.com/newAM/idasen/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ newam ];
|
|
};
|
|
})
|