lol

enpass-cli: init at 1.6.5

+47
+47
pkgs/by-name/en/enpass-cli/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + sqlcipher, 6 + pkg-config, 7 + nix-update-script, 8 + }: 9 + 10 + buildGoModule rec { 11 + pname = "enpass-cli"; 12 + version = "1.6.5"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "HazCod"; 16 + repo = "enpass-cli"; 17 + tag = "v${version}"; 18 + hash = "sha256-13AhK0qDDANEgicggy1Sdlmo5b0Vlf2sEDzJerhUvG8="; 19 + }; 20 + 21 + vendorHash = "sha256-7K7gdMjJ4cfv6xmuI73U+oW9JlmdN6wGg8vMcD/YThQ="; 22 + 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 + sqlcipher 29 + ]; 30 + 31 + env.CGO_ENABLED = "1"; 32 + 33 + postInstall = '' 34 + mv $out/bin/enpasscli $out/bin/enpass-cli 35 + ''; 36 + 37 + passthru.updateScript = nix-update-script { }; 38 + 39 + meta = { 40 + description = "Command line client for Enpass password manager"; 41 + mainProgram = "enpass-cli"; 42 + homepage = "https://github.com/HazCod/enpass-cli"; 43 + license = lib.licenses.mit; 44 + maintainers = with lib.maintainers; [ deej-io ]; 45 + platforms = lib.platforms.unix; 46 + }; 47 + }