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

27 lines
830 B
Nix
Raw Normal View History

{ stdenv, rustPlatform, fetchFromGitHub, 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-03-12 17:52:53 +01:00
version = "0.13.1";
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-03-12 17:52:53 +01:00
sha256 = "0w4p1v9ya6kai2sy4ic45s1m01ya3hlysxlc8ha698jfvzs8nnld";
2018-04-23 01:13:19 +02:00
};
2020-03-12 17:52:53 +01:00
cargoSha256 = "02x268xbxd2nin9y1dm35mkk90vyx16zzp18fi4fwc8kpsdbjpai";
2018-04-23 01:13:19 +02:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin 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'';
homepage = https://github.com/sunng87/cargo-release;
license = with licenses; [ mit ];
maintainers = with maintainers; [ gerschtli ];
platforms = platforms.all;
};
}