wishbone-utils: 0.2.8 -> 0.6.9
The upstreeam repository has moved its URL here: https://github.com/xobs/wishbone-utils This also contains some cleanup to make the cargo tarball checker find the cargo lockfile in the source directory; see #79975 for details.
This commit is contained in:
parent
f85a6d959c
commit
dc851d4051
1 changed files with 13 additions and 8 deletions
|
@ -1,26 +1,31 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform, libusb }:
|
||||
|
||||
let
|
||||
version = "0.2.8";
|
||||
version = "0.6.9";
|
||||
src = fetchFromGitHub {
|
||||
owner = "xobs";
|
||||
owner = "litex-hub";
|
||||
repo = "wishbone-utils";
|
||||
rev = "v${version}";
|
||||
sha256 = "0v6s5yl0y6bd2snf12x6c77rwvqkg6ybi1sm4wr7qdgbwq563nxp";
|
||||
sha256 = "0gq359ybxnqvcp93cn154bs9kwlai62gnm71yvl2nhzjdlcr3fhp";
|
||||
};
|
||||
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";
|
||||
src = "${src}/wishbone-tool";
|
||||
|
||||
# N.B. The cargo vendor consistency checker searches in "source" for lockfile
|
||||
cargoDepsHook = ''
|
||||
ln -s wishbone-tool source
|
||||
'';
|
||||
cargoSha256 = "0d5kcwy0cgxqfxf2xysw65ng84q4knhp4fgvh6dwqhf0nsca9gvs";
|
||||
|
||||
buildInputs = [ libusb ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Manipulate a Wishbone device over some sort of bridge";
|
||||
homepage = "https://github.com/xobs/wishbone-utils#wishbone-tool";
|
||||
homepage = "https://github.com/litex-hub/wishbone-utils";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ edef ];
|
||||
platforms = platforms.linux;
|
||||
|
|
Loading…
Reference in a new issue