2018-12-27 09:46:50 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
|
2018-04-23 00:13:19 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "cargo-release";
|
2018-12-27 03:04:11 +00:00
|
|
|
version = "0.10.5";
|
2018-04-23 00:13:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sunng87";
|
|
|
|
repo = "cargo-release";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-12-27 03:04:11 +00:00
|
|
|
sha256 = "14l5znr1nl69v2v3mdrlas85krq9jn280ssflmd0dz7i4fxiaflc";
|
2018-04-23 00:13:19 +01:00
|
|
|
};
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "1l1rvd3i3d7jn3crwc194i5qm3f0jaw7ksb4bvqn3v8rf44chmrs";
|
2018-04-23 00:13:19 +01:00
|
|
|
|
2018-12-27 09:46:50 +00:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2018-04-23 00:13:19 +01: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;
|
|
|
|
};
|
|
|
|
}
|