c57afb8ca2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/neofetch/versions. These checks were done: - built on NixOS - /nix/store/3ys3zndn1cz0s05p84hn6djrzbb9pmlg-neofetch-4.0.2/bin/neofetch passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 4.0.2 with grep in /nix/store/3ys3zndn1cz0s05p84hn6djrzbb9pmlg-neofetch-4.0.2 - directory tree listing: https://gist.github.com/33741fc29ddd44c6fb85d08f2f1a04d5 - du listing: https://gist.github.com/ebad77e50a02ef38e4df2b5db0a93c4f
28 lines
657 B
Nix
28 lines
657 B
Nix
{ stdenv, fetchFromGitHub, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "neofetch-${version}";
|
|
version = "4.0.2";
|
|
src = fetchFromGitHub {
|
|
owner = "dylanaraps";
|
|
repo = "neofetch";
|
|
rev = version;
|
|
sha256 = "0c0x05ca8lp74928nix4pvd243l95lav35r21mpkbagf72z284d2";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"SYSCONFDIR=$(out)/etc"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A fast, highly customizable system info script";
|
|
homepage = https://github.com/dylanaraps/neofetch;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ alibabzo konimex ];
|
|
};
|
|
}
|