fetch: init at 2.1.0 (#532310)

This commit is contained in:
Sefa Eyeoglu 2026-06-24 12:18:56 +00:00 committed by GitHub
commit 9fc37560d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 0 deletions

View file

@ -9888,6 +9888,12 @@
githubId = 3217744;
name = "Peter Ferenczy";
};
ghastrum = {
name = "Dennis Malmin";
email = "dennis.malmin@tuta.com";
github = "Ghastrum";
githubId = 276720856;
};
ghostbuster91 = {
name = "Kasper Kondzielski";
email = "kghost0@gmail.com";

View file

@ -0,0 +1,45 @@
{
lib,
stdenv,
fetchFromGitHub,
# linux dependencies
makeWrapper,
fastfetch,
pciutils,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fetch";
version = "2.1.0";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "areofyl";
repo = "fetch";
tag = "v${finalAttrs.version}";
hash = "sha256-9ixx7XJcY4ktcN/lUfjvFljvHIEO2ktOebeGgL0ulHg=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/fetch \
--prefix PATH : ${
lib.makeBinPath [
fastfetch
pciutils
]
}
'';
meta = {
description = "Animated 3D fetch tool that renders your distro logo as a spinning bas-relief";
homepage = "https://github.com/areofyl/fetch";
changelog = "https://github.com/areofyl/fetch/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ ghastrum ];
mainProgram = "fetch";
platforms = lib.platforms.linux;
};
})