Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
699 B · 35 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "pi1wire"; version = "0.3.0";
format = "setuptools";
src = fetchFromGitHub { owner = "ushiboy"; repo = "pi1wire"; tag = "v${version}"; hash = "sha256-l/5w71QsAW4BvILOaLdUVvQ8xxUm1ZTzUESRFzUgtic="; };
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ "test_find_all_sensors" # flaky ];
pythonImportsCheck = [ "pi1wire" ];
meta = with lib; { description = "1Wire Sensor Library for Raspberry PI"; homepage = "https://github.com/ushiboy/pi1wire"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}