fastfetch: 2.0.0 -> 2.0.1
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
This commit is contained in:
committed by
Anderson Torres
parent
43a72edefb
commit
dfa87519af
@@ -1,11 +1,11 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, chafa
|
||||
, cmake
|
||||
, dbus
|
||||
, dconf
|
||||
, ddcutil
|
||||
, glib
|
||||
, imagemagick_light
|
||||
, libglvnd
|
||||
@@ -42,23 +42,15 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastfetch";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastfetch-cli";
|
||||
repo = "fastfetch";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-mXbkzPlX1OsK+ahUSJWktV5D7Mo2zkhXgXP54QjbIR4=";
|
||||
hash = "sha256-7Sk2Fd9u5c1XLTd9vl32TpD10M1JeB9V05yF/dF+Sfk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Don't fetch yyjson.
|
||||
(fetchpatch {
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/fastfetch/files/fastfetch-2.0.0-dont-fetch-yyjson.patch";
|
||||
hash = "sha256-mOykwXSuad8BrUBmjX39EmQb0/hnKezgmWe8cpAybsw=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
makeBinaryWrapper
|
||||
@@ -74,6 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
dbus
|
||||
dconf
|
||||
ddcutil
|
||||
glib
|
||||
libglvnd
|
||||
libpulseaudio
|
||||
@@ -105,6 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_SYSCONFDIR=${placeholder "out"}/etc"
|
||||
"-DENABLE_SYSTEM_YYJSON=YES"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
@@ -127,7 +121,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
description = "Like neofetch, but much faster because written in C";
|
||||
homepage = "https://github.com/fastfetch-cli/fastfetch";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ gerg-l khaneliman ];
|
||||
maintainers = with lib.maintainers; [ gerg-l khaneliman federicoschonborn ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "fastfetch";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user