summaryrefslogtreecommitdiff
path: root/pkgs/treefetch.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-24 04:20:53 -0500
committerseth <[email protected]>2023-12-24 05:18:20 -0500
commit0fc48fd45f756534648d989f5a2c4f3060464218 (patch)
tree41293f12d3de3bd9f186785242b96addcc4d30b1 /pkgs/treefetch.nix
parent20993feb4a35eb279beab4a7af2c993f5fb620ce (diff)
pkgs: auto-import directories *and* files
Diffstat (limited to 'pkgs/treefetch.nix')
-rw-r--r--pkgs/treefetch.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/treefetch.nix b/pkgs/treefetch.nix
new file mode 100644
index 0000000..dd8283a
--- /dev/null
+++ b/pkgs/treefetch.nix
@@ -0,0 +1,27 @@
+{
+ lib,
+ fetchFromGitHub,
+ rustPlatform,
+}:
+rustPlatform.buildRustPackage {
+ pname = "treefetch";
+ version = "unstable-2022-06-08";
+
+ src = fetchFromGitHub {
+ owner = "angelofallars";
+ repo = "treefetch";
+ rev = "02f65e11e1f23d5fa9e66335eb5ff4f2f6b01400";
+ sha256 = "sha256-FDiulTit492KwV46A3qwjHQwzpjVJvIXTfTrMufXd5k=";
+ };
+
+ cargoSha256 = "sha256-8HJYYPBogkgEfK3kv8dFUFaqUhvgYAOrhUIyZo3bqp8=";
+
+ meta = with lib; {
+ description = "A plant-based system fetch tool made with Rust.";
+ longDescription = "A comfy and fast system fetch tool made in Rust. Tested to be much faster than neofetch and pfetch.";
+ homepage = "https://github.com/angelofallars/treefetch";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [getchoo];
+ platforms = platforms.unix;
+ };
+}