mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
cargo-dist: init at 0.0.2
This commit is contained in:
parent
a9c9d1924b
commit
10d31fb806
36
pkgs/development/tools/rust/cargo-dist/default.nix
Normal file
36
pkgs/development/tools/rust/cargo-dist/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, bzip2
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-dist";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axodotdev";
|
||||
repo = "cargo-dist";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-7/TUk9LGwmHhKwFtwFQM7C/1ItRsoJ4IodeUPWfGjkc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-vmHPjecd1u0f8wSTu+LE2BNiZlskDADLXNjIj2v7D5E=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bzip2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for building final distributable artifacts and uploading them to an archive";
|
||||
homepage = "https://github.com/axodotdev/cargo-dist";
|
||||
changelog = "https://github.com/axodotdev/cargo-dist/blob/${src.rev}/RELEASES.md";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -15788,6 +15788,7 @@ with pkgs;
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
cargo-diet = callPackage ../development/tools/rust/cargo-diet { };
|
||||
cargo-dist = callPackage ../development/tools/rust/cargo-dist { };
|
||||
cargo-embed = callPackage ../development/tools/rust/cargo-embed {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
inherit (darwin) DarwinTools;
|
||||
|
Loading…
Reference in New Issue
Block a user