python313Packages.pynanoleaf: refactor (#433817)
This commit is contained in:
@@ -2,23 +2,23 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy3k,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynanoleaf";
|
||||
version = "0.1.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "32a083759c4f99e019e0013670487841f8edf807c7a07742a971fa18707072a7";
|
||||
hash = "sha256-MqCDdZxPmeAZ4AE2cEh4Qfjt+AfHoHdCqXH6GHBwcqc=";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
dependencies = [ requests ];
|
||||
|
||||
# pynanoleaf does not contain tests
|
||||
doCheck = false;
|
||||
@@ -26,8 +26,9 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "pynanoleaf" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Oro/pynanoleaf";
|
||||
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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user