mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
cargo-deb: init at 1.21.1
Co-Authored-By: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
parent
1dacc3d4be
commit
20394a368e
25
pkgs/tools/package-management/cargo-deb/default.nix
Normal file
25
pkgs/tools/package-management/cargo-deb/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue