b96e6f4393
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
26 lines
816 B
Nix
26 lines
816 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-release";
|
|
version = "0.15.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sunng87";
|
|
repo = "cargo-release";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bCxfZFFmk1Y1Rs41yZXogIjsnZhS/TzkZNXOixbvONU=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-3wSy5WGBLC44Iy3yw2M1f1KpB8KHei+hHuqCGXutgi0=";
|
|
|
|
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 ];
|
|
};
|
|
}
|