13 rustPlatform.buildRustPackage rec {
14 pname = "cargo-release";
17 src = fetchFromGitHub {
19 repo = "cargo-release";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-UJdGbuQfvlZHjCKyHCXPDJ5AdUWJCRUS/vNeTKAwyYI=";
25 lockFile = ./Cargo.lock;
27 "cargo-test-macro-0.1.0" = "sha256-jXWdCc3wxcF02uL2OyMepJ+DmINAHRYtAUH6L16bCjI=";
38 ] ++ lib.optionals stdenv.isDarwin [
40 darwin.apple_sdk.frameworks.SystemConfiguration
47 # disable vendored-libgit2 and vendored-openssl
48 buildNoDefaultFeatures = true;
51 description = ''Cargo subcommand "release": everything about releasing a rust crate'';
52 mainProgram = "cargo-release";
53 homepage = "https://github.com/crate-ci/cargo-release";
54 changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md";
55 license = with licenses; [ asl20 /* or */ mit ];
56 maintainers = with maintainers; [ figsoda gerschtli ];