2018-12-27 10:46:50 +01:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
|
2018-04-23 01:13:19 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "cargo-release-${version}";
|
2018-12-27 04:04:11 +01:00
|
|
|
version = "0.10.5";
|
2018-04-23 01:13:19 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sunng87";
|
|
|
|
repo = "cargo-release";
|
|
|
|
rev = "${version}";
|
2018-12-27 04:04:11 +01:00
|
|
|
sha256 = "14l5znr1nl69v2v3mdrlas85krq9jn280ssflmd0dz7i4fxiaflc";
|
2018-04-23 01:13:19 +02:00
|
|
|
};
|
|
|
|
|
2018-12-27 04:04:11 +01:00
|
|
|
cargoSha256 = "1f0wgggsjpmcijq07abm3yw06z2ahsdr9iwn4izljvkc1nkqk6jq";
|
2018-04-23 01:13:19 +02:00
|
|
|
|
2018-12-27 10:46:50 +01:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2018-04-23 01:13:19 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
|
|
|
homepage = https://github.com/sunng87/cargo-release;
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|