Merge pull request #125356 from IvarWithoutBones/bump/yafetch

yafetch: unstable-2021-05-13 -> unstable-2021-06-01
This commit is contained in:
Luke Granger-Brown 2021-06-03 01:49:38 +01:00 committed by GitHub
commit 64026f5fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,22 +2,23 @@
stdenv.mkDerivation rec {
pname = "yafetch";
version = "unstable-2021-05-13";
version = "unstable-2021-06-01";
src = fetchFromGitLab {
owner = "cyberkitty";
repo = pname;
rev = "627465e6bf0192a9bc10f9c9385cde544766486f";
sha256 = "1r8jnzfyjs5ardq697crwysclfm3k8aiqvfbsyhsl251a08yls5c";
rev = "d9bbc1e4abca87028f898473c9a265161af3c287";
sha256 = "0hyb5k7drnm9li720z1fdvz7b15xgf7n6yajnz1j98day3k88bqk";
};
# Use the provided NixOS logo automatically
prePatch = ''
echo "#include \"ascii/nixos.h\"" > config.h
substituteInPlace ./config.h --replace \
"#include \"ascii/tux.h\"" "#include \"ascii/nixos.h\""
'';
# Fixes installation path
DESTDIR = placeholder "out";
PREFIX = placeholder "out";
meta = with lib; {
homepage = "https://gitlab.com/cyberkitty/yafetch";