Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
879 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, grpcio, hatchling, hatch-vcs, protobuf,}:
buildPythonPackage rec { pname = "ghome-foyer-api"; version = "1.2.3"; pyproject = true;
src = fetchFromGitHub { owner = "KapJI"; repo = "ghome-foyer-api"; tag = "v${version}"; hash = "sha256-hIprnkfAUbKoAp++sxu+T7MuGqLKOM1N1hqGBDOSo3k="; };
buildInputs = [ hatchling hatch-vcs ];
dependencies = [ grpcio protobuf ];
doCheck = false; # no tests
pythonRelaxDeps = [ "protobuf" ];
meta = { description = "Generated Python protobuf stubs for Google Home internal API"; homepage = "https://github.com/KapJI/ghome-foyer-api"; changelog = "https://github.com/KapJI/ghome-foyer-api/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hensoko ]; };}