lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

neofetch: 3.0.1 -> 3.2.0

authored by

Muhammad Herdiansyah and committed by
Muhammad Herdiansyah
b5ea89f5 c2ef89aa

+17 -10
+17 -10
pkgs/tools/misc/neofetch/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { stdenv, fetchFromGitHub, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "neofetch-${version}"; 5 - version = "3.0.1"; 5 + version = "3.2.0"; 6 6 src = fetchFromGitHub { 7 7 owner = "dylanaraps"; 8 8 repo = "neofetch"; 9 9 rev = version; 10 - sha256 = "0ccdgyn9m7vbrmjlsxdwv7cagsdg8hy8x4n1mx334pkqvl820jjn"; 10 + sha256 = "1skkclvkqayqsbywja2fhv18l4rn9kg2da6bkip82zrwd713akl3"; 11 11 }; 12 12 13 - patchPhase = '' 14 - substituteInPlace ./neofetch \ 15 - --replace "/usr/share" "$out/share" 16 - ''; 13 + # This patch is only needed so that Neofetch 3.2.0 can look for 14 + # configuration file, w3m directory (for fetching images) and ASCII 15 + # directory properly. It won't be needed in subsequent releases. 16 + patches = [ 17 + (fetchpatch { 18 + name = "nixos.patch"; 19 + url = "https://github.com/konimex/neofetch/releases/download/3.2.0/nixos.patch"; 20 + sha256 = "0c6vsa74bxq6qlgbv3rrkhzkpvnq4304s6y2r1bl0sachyakaljy"; 21 + }) 22 + ]; 23 + 17 24 18 25 dontBuild = true; 19 26 20 27 21 28 makeFlags = [ 22 - "DESTDIR=$(out)" 23 - "PREFIX=" 29 + "PREFIX=$(out)" 30 + "SYSCONFDIR=$(out)/etc" 24 31 ]; 25 32 26 33 meta = with stdenv.lib; { ··· 28 35 homepage = https://github.com/dylanaraps/neofetch; 29 36 license = licenses.mit; 30 37 platforms = platforms.all; 31 - maintainers = with maintainers; [ alibabzo ]; 38 + maintainers = with maintainers; [ alibabzo konimex ]; 32 39 }; 33 40 }