Unverified Commit 39d3cbb6 authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

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

parents 56e35af9 942ea5cb
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{
  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";
  };
}
})
+0 −4
Original line number Diff line number Diff line
@@ -1089,10 +1089,6 @@ with pkgs;
    wine = wineWowPackages.yabridge;
  };

  yafetch = callPackage ../tools/misc/yafetch {
    stdenv = clangStdenv;
  };

  ### APPLICATIONS/VERSION-MANAGEMENT

  # The full-featured Git.