From 519191cd9f31d1fe1c205535ddc4efe5f2e63793 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 7 Oct 2023 10:10:55 -0400 Subject: treewide!: remove flake-parts while i love flake parts, i want to keep dependencies for this project as small as possible --- pkgs/treefetch/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/treefetch/default.nix (limited to 'pkgs/treefetch/default.nix') diff --git a/pkgs/treefetch/default.nix b/pkgs/treefetch/default.nix new file mode 100644 index 0000000..dd8283a --- /dev/null +++ b/pkgs/treefetch/default.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; + }; +} -- cgit v1.2.3