Skip to content

Commit

Permalink
Merge pull request #169573 from kira64xyz/master
Browse files Browse the repository at this point in the history
yafetch: unstable-2021-07-18 -> unstable-2022-04-20
  • Loading branch information
IvarWithoutBones authored Apr 21, 2022
2 parents 417375b + 88e0bd6 commit eea1b97
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1043,8 +1043,8 @@
name = "Kirill Boltaev";
};
ashley = {
email = "[email protected]";
github = "paranoidcat";
email = "[email protected]";
github = "kira64xyz";
githubId = 84152630;
name = "Ashley Chiara";
};
Expand Down
18 changes: 9 additions & 9 deletions pkgs/tools/misc/yafetch/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{ lib, stdenv, fetchFromGitLab }:
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "yafetch";
version = "unstable-2021-07-18";
version = "unstable-2022-04-20";

src = fetchFromGitLab {
owner = "cyberkitty";
src = fetchFromGitHub {
owner = "kira64xyz";
repo = pname;
rev = "f3efbca54df1ffea22cc40034114af141ccff9c1";
sha256 = "1cxhrjy9vzq87rzql4dcknkwca7nydysp1p1x4fh1qfw79dfdmxw";
rev = "a118cfc13f0b475db7c266105c10138d838788b8";
sha256 = "bSJlerfbJG6h5dDwWQKHnVLH6DEuvuUyqaRuJ7jvOsA=";
};

# Use the provided NixOS logo automatically
prePatch = ''
substituteInPlace ./config.h --replace \
"#include \"ascii/tux.h\"" "#include \"ascii/nixos.h\""
"#include \"ascii/gnu.h\"" "#include \"ascii/nixos.h\""
'';

# Fixes installation path
PREFIX = placeholder "out";

meta = with lib; {
homepage = "https://gitlab.com/cyberkitty/yafetch";
homepage = "https://github.com/kira64xyz/yafetch";
description = "Yet another fetch clone written in C++";
license = licenses.gpl2Only;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ivar ashley ];
platforms = platforms.linux;
};
Expand Down

0 comments on commit eea1b97

Please sign in to comment.