Files
nixpkgs/pkgs/development/python-modules/pynanoleaf/default.nix
Martin Weinelt 4bd0b9c7ab Reapply "Merge remote-tracking branch 'origin/master' into staging-next"
This reverts commit 106b1418bc.

Restores the commits lost during the revert of a merge on staging-next.
2025-08-23 16:06:41 +02:00

36 lines
803 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pynanoleaf";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MqCDdZxPmeAZ4AE2cEh4Qfjt+AfHoHdCqXH6GHBwcqc=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# pynanoleaf does not contain tests
doCheck = false;
pythonImportsCheck = [ "pynanoleaf" ];
meta = with lib; {
description = "Python3 wrapper for the Nanoleaf API, capable of controlling both Nanoleaf Aurora and Nanoleaf Canvas";
homepage = "https://github.com/Oro/pynanoleaf";
changelog = "https://github.com/Oro/pynanoleaf/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ oro ];
};
}