Loading pkgs/by-name/fi/firezone-headless-client/package.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "firezone-headless-client"; version = "1.4.4"; src = fetchFromGitHub { owner = "firezone"; repo = "firezone"; tag = "headless-client-${version}"; hash = "sha256-2MDQyMCQIqV1Kbem53jnE8DGUZ6SrZqp2LpGJXvLBgA="; }; useFetchCargoVendor = true; cargoHash = "sha256-Yz9xuH8Eph1pzv0siTpvdSXZLj/AjS5PR06CitK9NdE="; sourceRoot = "${src.name}/rust"; buildAndTestSubdir = "headless-client"; RUSTFLAGS = "--cfg system_certs"; # Required to remove profiling arguments which conflict with this builder postPatch = '' rm .cargo/config.toml ''; # Required to run tests preCheck = '' export XDG_RUNTIME_DIR=$(mktemp -d) ''; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "headless-client-(.*)" ]; }; meta = { description = "CLI client for the Firezone zero-trust access platform"; homepage = "https://github.com/firezone/firezone"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ oddlama patrickdag ]; mainProgram = "firezone-headless-client"; }; } Loading
pkgs/by-name/fi/firezone-headless-client/package.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "firezone-headless-client"; version = "1.4.4"; src = fetchFromGitHub { owner = "firezone"; repo = "firezone"; tag = "headless-client-${version}"; hash = "sha256-2MDQyMCQIqV1Kbem53jnE8DGUZ6SrZqp2LpGJXvLBgA="; }; useFetchCargoVendor = true; cargoHash = "sha256-Yz9xuH8Eph1pzv0siTpvdSXZLj/AjS5PR06CitK9NdE="; sourceRoot = "${src.name}/rust"; buildAndTestSubdir = "headless-client"; RUSTFLAGS = "--cfg system_certs"; # Required to remove profiling arguments which conflict with this builder postPatch = '' rm .cargo/config.toml ''; # Required to run tests preCheck = '' export XDG_RUNTIME_DIR=$(mktemp -d) ''; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "headless-client-(.*)" ]; }; meta = { description = "CLI client for the Firezone zero-trust access platform"; homepage = "https://github.com/firezone/firezone"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ oddlama patrickdag ]; mainProgram = "firezone-headless-client"; }; }