mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
cargo-supply-chain: 0.0.2 -> 0.2.0
This commit is contained in:
parent
e77de1ec57
commit
1f2047b3fa
@ -1,17 +1,15 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-supply-chain";
|
pname = "cargo-supply-chain";
|
||||||
version = "0.0.2";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchCrate {
|
||||||
owner = "rust-secure-code";
|
inherit pname version;
|
||||||
repo = pname;
|
sha256 = "sha256-zjDZJOUjnEQ03rmo5CdSY1emE6YohOPlf7SKuvNLuV0=";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0kpm842p7l0vwbfa99zq3w3nsasy5sp1b99si7brjjvq99bad9gr";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Mn5s6pfTHoFXtHqn6ii8PtAIBz/RJaR0zO5U5jS3UDU=";
|
cargoSha256 = "sha256-xSJ5rx8k+my0NeGYHZyvDzbM7uMdbViT7Ou9a9JACfs=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user