Merge pull request #94074 from jshholland/as-tree

as-tree: init at 0.12.0
This commit is contained in:
StigP 2020-11-07 13:07:36 +00:00 committed by GitHub
commit 04b374eb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View File

@ -4284,6 +4284,12 @@
githubId = 16374374;
name = "Joshua Campbell";
};
jshholland = {
email = "josh@inv.alid.pw";
github = "jshholland";
githubId = 107689;
name = "Josh Holland";
};
jtcoolen = {
email = "jtcoolen@pm.me";
name = "Julien Coolen";

View File

@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index 991ecd8..9e94574 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -11,7 +11,7 @@ dependencies = [
[[package]]
name = "as-tree"
-version = "0.11.1"
+version = "0.12.0"
dependencies = [
"ansi_term",
"atty",

View File

@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "as-tree";
version = "0.12.0";
src = fetchFromGitHub {
owner = "jez";
repo = pname;
rev = version;
sha256 = "0c0g32pkyhyvqpgvzlw9244c80npq6s8mxy3may7q4qyd7hi3dz5";
};
cargoSha256 = "0yhd9svdxg7akv61msn7rf3rfblb7kxnyn955dfdwyxbxq48qwpr";
# the upstream 0.12.0 release didn't update the Cargo.lock file properly
# they have updated their release script, so this patch can be removed
# when the next version is released.
cargoPatches = [ ./cargo-lock.patch ];
meta = with lib; {
description = "Print a list of paths as a tree of paths";
homepage = "https://github.com/jez/as-tree";
license = with licenses; [ blueOak100 ];
maintainers = with maintainers; [ jshholland ];
platforms = platforms.all;
};
}

View File

@ -1338,6 +1338,8 @@ in
};
aria = aria2;
as-tree = callPackage ../tools/misc/as-tree { };
asmfmt = callPackage ../development/tools/asmfmt { };
aspcud = callPackage ../tools/misc/aspcud { };