Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub,
# build system hatchling, hatch-vcs,
# dependencies ghome-foyer-api, gpsoauth, grpcio, requests, simplejson, zeroconf,
# test dependencies pytestCheckHook, faker,}:
buildPythonPackage rec { pname = "glocaltokens"; version = "0.7.5"; pyproject = true;
src = fetchFromGitHub { owner = "leikoilja"; repo = "glocaltokens"; tag = "v${version}"; hash = "sha256-anIiYNUVHHzv21yV7Y3S+lIst3iWEwgQZD9Ymx86tbk="; };
build-system = [ hatchling hatch-vcs ];
dependencies = [ ghome-foyer-api gpsoauth grpcio requests simplejson zeroconf ];
nativeCheckInputs = [ pytestCheckHook faker ];
pythonImportsCheck = [ "glocaltokens" "glocaltokens.client" "glocaltokens.scanner" ];
meta = { description = "Library to extract google home devices local authentication tokens from google servers"; homepage = "https://github.com/leikoilja/glocaltokens"; changelog = "https://github.com/leikoilja/glocaltokens/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hensoko ]; };}