blob: 6b4e450a70cbae271118a51041e588c742819a3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "cargo-release";
version = "0.16.2";
src = fetchFromGitHub {
owner = "sunng87";
repo = "cargo-release";
rev = "v${version}";
sha256 = "sha256-o3AKA/uP6VWMO4c62H3ey0P98KIhbzhnng5ggKjNeZ8=";
};
cargoSha256 = "sha256-SHLiUVH5LiQNd/Ipj/xrjSG0X2HXfcAwswqsbqweJBs=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
meta = with 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 ];
};
}
|