29 lines
645 B
Nix
29 lines
645 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "neofetch-${version}";
|
|
version = "6.0.0";
|
|
src = fetchFromGitHub {
|
|
owner = "dylanaraps";
|
|
repo = "neofetch";
|
|
rev = version;
|
|
sha256 = "0j0r40llyry1sgc6p9wd7jrpydps2lnj4rwajjp37697g2bik89i";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|