nixpkgs/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 00:13:19 +01:00
rustPlatform.buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "cargo-release";
version = "0.13.0";
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}";
sha256 = "1w9w43i5br94vg5m4idabh67p4ffsx2lmc2g0ak2k961vl46wr0q";
2018-04-23 00:13:19 +01:00
};
cargoSha256 = "075fvvd4c8f3kz6i6ny835h6jpa3c1v3miwfwwrdyy49a85lzjyj";
2018-04-23 00:13:19 +01:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin 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'';
homepage = https://github.com/sunng87/cargo-release;
license = with licenses; [ mit ];
maintainers = with maintainers; [ gerschtli ];
platforms = platforms.all;
};
}