python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / as-tree / default.nix
blob4b2ce65d3dbf7ced0ab70d7f056ea90d3752b4e0
1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4   pname = "as-tree";
5   version = "0.12.0";
7   src = fetchFromGitHub {
8     owner = "jez";
9     repo = pname;
10     rev = version;
11     sha256 = "0c0g32pkyhyvqpgvzlw9244c80npq6s8mxy3may7q4qyd7hi3dz5";
12   };
14   cargoSha256 = "1m334shcja7kg134b7lnq1ksy67j5b5vblkzamrw06f6r1hkn1rc";
15   # the upstream 0.12.0 release didn't update the Cargo.lock file properly
16   # they have updated their release script, so this patch can be removed
17   # when the next version is released.
18   cargoPatches = [ ./cargo-lock.patch ];
20   meta = with lib; {
21     description = "Print a list of paths as a tree of paths";
22     homepage = "https://github.com/jez/as-tree";
23     license = with licenses; [ blueOak100 ];
24     maintainers = with maintainers; [ jshholland ];
25     platforms = platforms.all;
26   };