Merge pull request #169573 from kira64xyz/master

yafetch: unstable-2021-07-18 -> unstable-2022-04-20
main
Ivv 2 years ago committed by GitHub
commit eea1b97e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      maintainers/maintainer-list.nix
  2. 18
      pkgs/tools/misc/yafetch/default.nix

@ -1043,8 +1043,8 @@
name = "Kirill Boltaev"; name = "Kirill Boltaev";
}; };
ashley = { ashley = {
email = "personavinny@protonmail.com"; email = "ashley@kira64.xyz";
github = "paranoidcat"; github = "kira64xyz";
githubId = 84152630; githubId = 84152630;
name = "Ashley Chiara"; name = "Ashley Chiara";
}; };

@ -1,29 +1,29 @@
{ lib, stdenv, fetchFromGitLab }: { lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yafetch"; pname = "yafetch";
version = "unstable-2021-07-18"; version = "unstable-2022-04-20";
src = fetchFromGitLab { src = fetchFromGitHub {
owner = "cyberkitty"; owner = "kira64xyz";
repo = pname; repo = pname;
rev = "f3efbca54df1ffea22cc40034114af141ccff9c1"; rev = "a118cfc13f0b475db7c266105c10138d838788b8";
sha256 = "1cxhrjy9vzq87rzql4dcknkwca7nydysp1p1x4fh1qfw79dfdmxw"; sha256 = "bSJlerfbJG6h5dDwWQKHnVLH6DEuvuUyqaRuJ7jvOsA=";
}; };
# Use the provided NixOS logo automatically # Use the provided NixOS logo automatically
prePatch = '' prePatch = ''
substituteInPlace ./config.h --replace \ substituteInPlace ./config.h --replace \
"#include \"ascii/tux.h\"" "#include \"ascii/nixos.h\"" "#include \"ascii/gnu.h\"" "#include \"ascii/nixos.h\""
''; '';
# Fixes installation path # Fixes installation path
PREFIX = placeholder "out"; PREFIX = placeholder "out";
meta = with lib; { meta = with lib; {
homepage = "https://gitlab.com/cyberkitty/yafetch"; homepage = "https://github.com/kira64xyz/yafetch";
description = "Yet another fetch clone written in C++"; description = "Yet another fetch clone written in C++";
license = licenses.gpl2Only; license = licenses.gpl3Plus;
maintainers = with maintainers; [ ivar ashley ]; maintainers = with maintainers; [ ivar ashley ];
platforms = platforms.linux; platforms = platforms.linux;
}; };

Loading…
Cancel
Save