Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
933 B · 55 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, sphinx-rtd-theme, sphinxHook, colorzero, mock, pytestCheckHook}:
buildPythonPackage rec { pname = "gpiozero"; version = "1.6.2"; format = "setuptools";
src = fetchFromGitHub { owner = "gpiozero"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-dmFc3DNTlEajYQ5e8QK2WfehwYwAsWyG2cxKg5ykEaI="; };
outputs = [ "out" "doc" ];
nativeBuildInputs = [ sphinx-rtd-theme sphinxHook ];
propagatedBuildInputs = [ colorzero ];
pythonImportsCheck = [ "gpiozero" "gpiozero.tools" ];
nativeCheckInputs = [ mock pytestCheckHook ];
meta = with lib; { description = "A simple interface to GPIO devices with Raspberry Pi"; homepage = "https://github.com/gpiozero/gpiozero"; license = licenses.bsd3; platforms = platforms.linux; maintainers = with maintainers; [ hexa ]; };}