3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #219378 from figsoda/cargo-dist

cargo-dist: 0.0.3 -> 0.0.4
This commit is contained in:
Weijia Wang 2023-03-03 23:44:29 +02:00 committed by GitHub
commit 44f89fe6a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,20 +3,22 @@
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, bzip2 , bzip2
, stdenv
, rustup
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-dist"; pname = "cargo-dist";
version = "0.0.3"; version = "0.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "axodotdev"; owner = "axodotdev";
repo = "cargo-dist"; repo = "cargo-dist";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-I++dffdEXDg55WR66+Zl5P2KBvt19sp3aZkXA1GBb4A="; hash = "sha256-7JbWcG5FDJaXvtEQKlOgbsFpFQQ3n02MVFD+lCFXtt0=";
}; };
cargoHash = "sha256-fLHkW28V5MBQeQDd0VrtEjou5FYwArkNDtS/jXKo8G8="; cargoHash = "sha256-TY1YRtre2rz0Hh+6ca22i+XCBMOEOS3QnSsf/rfY47g=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -26,6 +28,10 @@ rustPlatform.buildRustPackage rec {
bzip2 bzip2
]; ];
nativeCheckInputs = lib.optionals stdenv.isDarwin [
rustup
];
meta = with lib; { meta = with lib; {
description = "A tool for building final distributable artifacts and uploading them to an archive"; description = "A tool for building final distributable artifacts and uploading them to an archive";
homepage = "https://github.com/axodotdev/cargo-dist"; homepage = "https://github.com/axodotdev/cargo-dist";