cargo-release: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-07 23:11:00 +01:00 committed by GitHub
parent e913d17a4b
commit faa57a8d0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,20 +15,27 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "crate-ci";
repo = "cargo-release";
rev = "v${version}";
sha256 = "sha256-ggB6gDlIuHPgJJg9TsHXHOKAm7+6OjXzoAT74YUB1n8=";
rev = "refs/tags/v${version}";
hash = "sha256-ggB6gDlIuHPgJJg9TsHXHOKAm7+6OjXzoAT74YUB1n8=";
};
cargoHash = "sha256-gBVcQzuJNDwdC59gaOYqvaJDP46wJ9CglYbSPt3zkZ8=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security curl ];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
curl
];
meta = with lib; {
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
homepage = "https://github.com/sunng87/cargo-release";
changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ gerschtli ];
};