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