mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
cargo-update: init at 1.5.2 (#40575)
This commit is contained in:
parent
742a50dafd
commit
219970b494
1334
pkgs/tools/package-management/cargo-update/cargo-update.nix
Normal file
1334
pkgs/tools/package-management/cargo-update/cargo-update.nix
Normal file
File diff suppressed because it is too large
Load diff
27
pkgs/tools/package-management/cargo-update/default.nix
Normal file
27
pkgs/tools/package-management/cargo-update/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, libssh2, libgit2, openssl, zlib }:
|
||||
|
||||
((callPackage ./cargo-update.nix {}).cargo_update {}).override {
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
cargo-update = attrs: rec {
|
||||
name = "cargo-update-${version}";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nabijaczleweli";
|
||||
repo = "cargo-update";
|
||||
rev = "v${version}";
|
||||
sha256 = "1bvrdgcw2akzd78wgvsisvghi8pvdk3szyg9s46qxv4km9sf88s7";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libssh2 libgit2 openssl zlib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A cargo subcommand for checking and applying updates to installed executables";
|
||||
homepage = https://github.com/nabijaczleweli/cargo-update;
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7089,6 +7089,7 @@ with pkgs;
|
|||
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
|
||||
cargo-release = callPackage ../tools/package-management/cargo-release { };
|
||||
cargo-tree = callPackage ../tools/package-management/cargo-tree { };
|
||||
cargo-update = callPackage ../tools/package-management/cargo-update { };
|
||||
|
||||
cargo-asm = callPackage ../development/tools/rust/cargo-asm { };
|
||||
cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { };
|
||||
|
|
Loading…
Reference in a new issue