2020-08-17 00:36:06 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }:
|
2018-04-22 23:13:19 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "cargo-release";
|
2020-08-20 05:38:44 +00:00
|
|
|
version = "0.13.5";
|
2018-04-22 23:13:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sunng87";
|
|
|
|
repo = "cargo-release";
|
2019-09-22 08:41:51 +00:00
|
|
|
rev = "v${version}";
|
2020-08-20 05:38:44 +00:00
|
|
|
sha256 = "098p6yfq8nlfckr61j3pkimwzrg5xb2i34nxvk2hiv1njl1vrqng";
|
2018-04-22 23:13:19 +00:00
|
|
|
};
|
|
|
|
|
2020-08-20 05:38:44 +00:00
|
|
|
cargoSha256 = "07rmp4j4jpzd1rz59wsjmzmj2qkc2x4wrs9pafqrym58ypm8i4gx";
|
2018-04-22 23:13:19 +00:00
|
|
|
|
2020-01-02 20:47:58 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-08-17 00:36:06 +00:00
|
|
|
buildInputs = [ openssl ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
2018-12-27 09:46:50 +00:00
|
|
|
|
2018-04-22 23:13:19 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sunng87/cargo-release";
|
2018-04-22 23:13:19 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|