From 3b24ca134a58aeb1d483b58d7adee7482bc77cfe Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 4 Aug 2025 07:17:17 -0600 Subject: [PATCH] honeyfetch: init at 1.5.0 --- pkgs/by-name/ho/honeyfetch/package.nix | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/ho/honeyfetch/package.nix diff --git a/pkgs/by-name/ho/honeyfetch/package.nix b/pkgs/by-name/ho/honeyfetch/package.nix new file mode 100644 index 000000000000..bf11007bcf79 --- /dev/null +++ b/pkgs/by-name/ho/honeyfetch/package.nix @@ -0,0 +1,29 @@ +{ + lib, + libdrm, + fetchFromGitLab, + rustPlatform, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "honeyfetch"; + version = "1.5.0"; + + src = fetchFromGitLab { + owner = "ahoneybun"; + repo = "honeyfetch"; + tag = "v${finalAttrs.version}"; + hash = "sha256-lFp7L3tcqZ1jAL7V7tfUJDPKO2WCvMekUx+p12fNlcM="; + }; + + cargoHash = "sha256-u+OF4ali7GoHktY8jihgqUQ+4kFuKQNbiaRUdOJrQfA="; + + buildInputs = [ libdrm ]; + + meta = { + description = "Classy neofetch but in Rust"; + homepage = "https://gitlab.com/ahoneybun/honeyfetch"; + license = lib.licenses.agpl3Plus; + maintainers = with lib.maintainers; [ ahoneybun ]; + platforms = lib.platforms.linux; + }; +})