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