mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
29 lines
828 B
Nix
29 lines
828 B
Nix
{ lib, fetchFromGitHub, rustPlatform, libusb }:
|
|
let
|
|
version = "0.2.8";
|
|
src = fetchFromGitHub {
|
|
owner = "xobs";
|
|
repo = "wishbone-utils";
|
|
rev = "v${version}";
|
|
sha256 = "0v6s5yl0y6bd2snf12x6c77rwvqkg6ybi1sm4wr7qdgbwq563nxp";
|
|
};
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "wishbone-tool";
|
|
inherit version;
|
|
src = "${src}/wishbone-tool";
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "0pj8kf6s1c666p4kc6q1hlvaqm0lm9aqnsx5r034g1y8sxnnyri2";
|
|
buildInputs = [ libusb ];
|
|
|
|
meta = with lib; {
|
|
description = "Manipulate a Wishbone device over some sort of bridge";
|
|
homepage = "https://github.com/xobs/wishbone-utils#wishbone-tool";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ edef ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|