13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
18 owner = "spectralops";
21 sha256 = "sha256-SrBtgirg52q7gM3GZsJsV8ASACvb4sYv5HDbyItpjbk=";
24 cargoHash = "sha256-MFP3AqlfaclmZxRwaWFw6hsZwCQMRKJEyFEyUN+QLqo=";
26 nativeBuildInputs = [ pkg-config ];
28 buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
35 # build script tries to get information from git
37 echo "fn main() {}" > build.rs
40 VERGEN_GIT_SEMVER = "v${version}";
43 description = "Key and secret workflow (validation, invalidation, etc.) tool";
44 mainProgram = "keyscope";
45 homepage = "https://github.com/spectralops/keyscope";
46 changelog = "https://github.com/spectralops/keyscope/blob/v${version}/CHANGELOG.md";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ figsoda ];