as-tree: init at 0.12.0

+42
+13
pkgs/tools/misc/as-tree/cargo-lock.patch
··· 1 + diff --git a/Cargo.lock b/Cargo.lock 2 + index 991ecd8..9e94574 100644 3 + --- a/Cargo.lock 4 + +++ b/Cargo.lock 5 + @@ -11,7 +11,7 @@ dependencies = [ 6 + 7 + [[package]] 8 + name = "as-tree" 9 + -version = "0.11.1" 10 + +version = "0.12.0" 11 + dependencies = [ 12 + "ansi_term", 13 + "atty",
+27
pkgs/tools/misc/as-tree/default.nix
··· 1 + { lib, fetchFromGitHub, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "as-tree"; 5 + version = "0.12.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jez"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "0c0g32pkyhyvqpgvzlw9244c80npq6s8mxy3may7q4qyd7hi3dz5"; 12 + }; 13 + 14 + cargoSha256 = "0yhd9svdxg7akv61msn7rf3rfblb7kxnyn955dfdwyxbxq48qwpr"; 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 ]; 19 + 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 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 1338 1338 }; 1339 1339 aria = aria2; 1340 1340 1341 + as-tree = callPackage ../tools/misc/as-tree { }; 1342 + 1341 1343 asmfmt = callPackage ../development/tools/asmfmt { }; 1342 1344 1343 1345 aspcud = callPackage ../tools/misc/aspcud { };