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

26 lines
765 B
Nix
Raw Normal View History

2018-12-27 10:46:50 +01:00
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
2018-04-23 01:13:19 +02:00
rustPlatform.buildRustPackage rec {
name = "cargo-release-${version}";
2018-12-27 04:04:11 +01:00
version = "0.10.5";
2018-04-23 01:13:19 +02:00
src = fetchFromGitHub {
owner = "sunng87";
repo = "cargo-release";
rev = "${version}";
2018-12-27 04:04:11 +01:00
sha256 = "14l5znr1nl69v2v3mdrlas85krq9jn280ssflmd0dz7i4fxiaflc";
2018-04-23 01:13:19 +02:00
};
cargoSha256 = "1l1rvd3i3d7jn3crwc194i5qm3f0jaw7ksb4bvqn3v8rf44chmrs";
2018-04-23 01:13:19 +02:00
2018-12-27 10:46:50 +01:00
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
2018-04-23 01:13:19 +02: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;
};
}