hanko: init at 0.5.2 (#366005)

authored by scrumplex.net and committed by GitHub ce9d8051 0465e2ef

+44
+6
maintainers/maintainer-list.nix
··· 21497 github = "srounce"; 21498 githubId = 60792; 21499 }; 21500 Srylax = { 21501 name = "Srylax"; 21502 email = "srylax+nixpkgs@srylax.dev";
··· 21497 github = "srounce"; 21498 githubId = 60792; 21499 }; 21500 + srv6d = { 21501 + name = "Marvin Vogt"; 21502 + github = "SRv6d"; 21503 + githubId = 18124752; 21504 + email = "m@rvinvogt.com"; 21505 + }; 21506 Srylax = { 21507 name = "Srylax"; 21508 email = "srylax+nixpkgs@srylax.dev";
+38
pkgs/by-name/ha/hanko/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + installShellFiles, 5 + rustPlatform, 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "hanko"; 10 + version = "0.5.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "SRv6d"; 14 + repo = "hanko"; 15 + tag = "v${version}"; 16 + hash = "sha256-gytnUta/sNa8vJMvVS/DMwRc4R/8rmOnEfBKEjRpfGs="; 17 + }; 18 + cargoHash = "sha256-rlKFS1ppUoyZ1X2PeG8tEB44Ysqi7kCLqR+ECVIdPjs="; 19 + 20 + nativeBuildInputs = [ installShellFiles ]; 21 + 22 + postInstall = '' 23 + installManPage assets/manpages/*.1 24 + 25 + installShellCompletion assets/completions/hanko.bash 26 + installShellCompletion assets/completions/_hanko 27 + installShellCompletion assets/completions/hanko.fish 28 + ''; 29 + 30 + meta = { 31 + description = "Keeps your Git allowed signers file up to date"; 32 + homepage = "https://github.com/SRv6d/hanko"; 33 + changelog = "https://github.com/SRv6d/hanko/blob/main/CHANGELOG.md"; 34 + license = lib.licenses.mit; 35 + maintainers = with lib.maintainers; [ srv6d ]; 36 + mainProgram = "hanko"; 37 + }; 38 + }