From c3415f6709e0c03b76547dd5fa8c1e07ce048f61 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 16 Oct 2024 21:21:55 -0400 Subject: tree-wide: no more `with lib;` --- pkgs/treefetch/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgs/treefetch/package.nix') diff --git a/pkgs/treefetch/package.nix b/pkgs/treefetch/package.nix index 445f0af..56769b0 100644 --- a/pkgs/treefetch/package.nix +++ b/pkgs/treefetch/package.nix @@ -3,6 +3,7 @@ fetchFromGitHub, rustPlatform, }: + rustPlatform.buildRustPackage { pname = "treefetch"; version = "unstable-2022-06-08"; @@ -16,12 +17,13 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-8HJYYPBogkgEfK3kv8dFUFaqUhvgYAOrhUIyZo3bqp8="; - meta = with lib; { + meta = { 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; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ getchoo ]; + mainProgram = "treefetch"; + platforms = lib.platforms.unix; }; } -- cgit v1.2.3