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; + }; +})