nixpkgs/pkgs/tools/package-management/cargo-release/default.nix

26 lines
756 B
Nix
Raw Normal View History

2018-12-27 09:46:50 +00:00
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
2018-04-22 23:13:19 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "cargo-release";
2019-09-22 08:41:51 +00:00
version = "0.12.4";
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}";
sha256 = "02rx25dd3klprwr1qmn5vn4vz4244amk2ky4nqfmi4vq3ygrhd1c";
2018-04-22 23:13:19 +00:00
};
2019-09-22 08:41:51 +00:00
cargoSha256 = "18nbmq8j58jlka1lsrx2y0bhb9l5f3wyvcr1zmmda3hvc3vm7kla";
2018-04-22 23:13:19 +00:00
2018-12-27 09:46:50 +00:00
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
2018-04-22 23:13:19 +00: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;
};
}