yafetch: migrate to pkgs/by-name (#481496)

This commit is contained in:
Gergő Gutyina
2026-01-30 17:14:02 +00:00
committed by GitHub
2 changed files with 5 additions and 9 deletions
@@ -1,18 +1,18 @@
{
lib,
stdenv,
clangStdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
clangStdenv.mkDerivation (finalAttrs: {
pname = "yafetch";
version = "unstable-2022-04-20";
src = fetchFromGitHub {
owner = "kira64xyz";
repo = pname;
repo = "yafetch";
rev = "a118cfc13f0b475db7c266105c10138d838788b8";
sha256 = "bSJlerfbJG6h5dDwWQKHnVLH6DEuvuUyqaRuJ7jvOsA=";
hash = "sha256-bSJlerfbJG6h5dDwWQKHnVLH6DEuvuUyqaRuJ7jvOsA=";
};
# Use the provided NixOS logo automatically
@@ -34,4 +34,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
mainProgram = "yafetch";
};
}
})
-4
View File
@@ -1089,10 +1089,6 @@ with pkgs;
wine = wineWowPackages.yabridge;
};
yafetch = callPackage ../tools/misc/yafetch {
stdenv = clangStdenv;
};
### APPLICATIONS/VERSION-MANAGEMENT
# The full-featured Git.