diff options
Diffstat (limited to 'pkgs/development/python-modules/gpiozero/default.nix')
-rw-r--r-- | pkgs/development/python-modules/gpiozero/default.nix | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/gpiozero/default.nix b/pkgs/development/python-modules/gpiozero/default.nix index 3aaa5ba77506..f8314696f9fa 100644 --- a/pkgs/development/python-modules/gpiozero/default.nix +++ b/pkgs/development/python-modules/gpiozero/default.nix @@ -1,20 +1,21 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, -# build-system -, setuptools + # build-system + setuptools, -# docs -, sphinx-rtd-theme -, sphinxHook + # docs + sphinx-rtd-theme, + sphinxHook, -# dependencies -, colorzero + # dependencies + colorzero, -# tests -, pytestCheckHook + # tests + pytestCheckHook, }: buildPythonPackage rec { @@ -47,13 +48,9 @@ buildPythonPackage rec { sphinxHook ]; - propagatedBuildInputs = [ - colorzero - ]; + propagatedBuildInputs = [ colorzero ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "gpiozero" @@ -66,7 +63,7 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "A simple interface to GPIO devices with Raspberry Pi"; + description = "Simple interface to GPIO devices with Raspberry Pi"; homepage = "https://github.com/gpiozero/gpiozero"; changelog = "https://github.com/gpiozero/gpiozero/blob/v${version}/docs/changelog.rst"; license = licenses.bsd3; |