mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #218900 from figsoda/as-tree
This commit is contained in:
commit
85c34ed9e2
@ -1,13 +0,0 @@
|
|||||||
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",
|
|
@ -1,27 +1,22 @@
|
|||||||
{ lib, fetchFromGitHub, rustPlatform }:
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "as-tree";
|
pname = "as-tree";
|
||||||
version = "0.12.0";
|
version = "unstable-2021-03-09";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jez";
|
owner = "jez";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "0036c20f66795774eb9cda3ccbae6ca1e1c19444";
|
||||||
sha256 = "0c0g32pkyhyvqpgvzlw9244c80npq6s8mxy3may7q4qyd7hi3dz5";
|
sha256 = "sha256-80yB89sKIuv7V68p0jEsi2hRdz+5CzE+4R0joRzO7Dk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1m334shcja7kg134b7lnq1ksy67j5b5vblkzamrw06f6r1hkn1rc";
|
cargoSha256 = "sha256-BLEVPKO2YwcKuM/rUeMuyE38phOrbq0e8cjqh1qmJjM=";
|
||||||
# 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; {
|
meta = with lib; {
|
||||||
description = "Print a list of paths as a tree of paths";
|
description = "Print a list of paths as a tree of paths";
|
||||||
homepage = "https://github.com/jez/as-tree";
|
homepage = "https://github.com/jez/as-tree";
|
||||||
license = with licenses; [ blueOak100 ];
|
license = with licenses; [ blueOak100 ];
|
||||||
maintainers = with maintainers; [ jshholland ];
|
maintainers = with maintainers; [ jshholland ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user