cargo-deb: init at 1.21.1

Co-Authored-By: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
Oleksii Filonenko 2019-11-11 17:50:48 +02:00 committed by Jon
parent 1dacc3d4be
commit 20394a368e
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-deb";
version = "1.21.1";
src = fetchFromGitHub {
owner = "mmstick";
repo = "cargo-deb";
rev = "v${version}";
sha256 = "10b25a0cnrd2bhf38yqc32l06vp6sdlfcpa6n9718yipp7b60cq2";
};
buildInputs = with stdenv; lib.optionals isDarwin [ Security ];
cargoSha256 = "182ayprs2awmz7lzqkhawrmpfjla3jcj58q8g8c908gchkh05kns";
meta = with stdenv.lib; {
description = "Generate Debian packages from information in Cargo.toml";
homepage = "https://github.com/mmstick/cargo-deb";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
platforms = platforms.all;
};
}

View File

@ -8597,6 +8597,9 @@ in
cargo-audit = callPackage ../tools/package-management/cargo-audit {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-deb = callPackage ../tools/package-management/cargo-deb {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-deps = callPackage ../tools/package-management/cargo-deps { };
cargo-download = callPackage ../tools/package-management/cargo-download { };
cargo-edit = callPackage ../tools/package-management/cargo-edit { };