13 rustPlatform.buildRustPackage {
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-HqZYxV2YjnK7Q3A7B6yVFXME0oc3DZ4RfMkDGa2IQxA=";
23 cargoHash = "sha256-AmAEGVWq6KxLtiHDGIFVcoP1Wck8z+P9mnDy0SSSJNM=";
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
28 tests.version = testers.testVersion { package = committed; };
29 updateScript = nix-update-script { };
33 homepage = "https://github.com/crate-ci/committed";
34 changelog = "https://github.com/crate-ci/committed/blob/v${version}/CHANGELOG.md";
35 description = "Nitpicking commit history since beabf39";
36 mainProgram = "committed";
38 lib.licenses.asl20 # or
41 maintainers = [ lib.maintainers.pigeonf ];