git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitdc851d40519724cdd3252fc6d5c8a87b03302f96 authorBenjamin Hipple <bhipple@protonmail.com> dateSat 15 Feb 2020, 23:24 (7 years ago) parentf85a6d9
1 file changed+12−7
pkgs/development/tools/misc/wishbone-tool/default.nix+12−7
pkgs/development/tools/misc/wishbone-tool/default.nix+12−7
@@ -1,26 +1,31 @@
11{ lib, fetchFromGitHub, rustPlatform, libusb }:
2+
23let
3− version = "0.2.8";
4+ version = "0.6.9";
45 src = fetchFromGitHub {
5− owner = "xobs";
6+ owner = "litex-hub";
67 repo = "wishbone-utils";
78 rev = "v${version}";
8− sha256 = "0v6s5yl0y6bd2snf12x6c77rwvqkg6ybi1sm4wr7qdgbwq563nxp";
9+ sha256 = "0gq359ybxnqvcp93cn154bs9kwlai62gnm71yvl2nhzjdlcr3fhp";
910 };
1011in
1112rustPlatform.buildRustPackage {
1213 pname = "wishbone-tool";
1314 inherit version;
15+
1416 src = "${src}/wishbone-tool";
15− # Delete this on next update; see #79975 for details
16− legacyCargoFetcher = true;
1717
18− cargoSha256 = "0pj8kf6s1c666p4kc6q1hlvaqm0lm9aqnsx5r034g1y8sxnnyri2";
18+ # N.B. The cargo vendor consistency checker searches in "source" for lockfile
19+ cargoDepsHook = ''
20+ ln -s wishbone-tool source
21+ '';
22+ cargoSha256 = "0d5kcwy0cgxqfxf2xysw65ng84q4knhp4fgvh6dwqhf0nsca9gvs";
23+
1924 buildInputs = [ libusb ];
2025
2126 meta = with lib; {
2227 description = "Manipulate a Wishbone device over some sort of bridge";
23− homepage = "https://github.com/xobs/wishbone-utils#wishbone-tool";
28+ homepage = "https://github.com/litex-hub/wishbone-utils";
2429 license = licenses.bsd2;
2530 maintainers = with maintainers; [ edef ];
2631 platforms = platforms.linux;