nixpkgs/pkgs/tools/misc/neofetch/default.nix

29 lines
645 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2017-01-22 20:46:31 +00:00
stdenv.mkDerivation rec {
name = "neofetch-${version}";
2019-01-10 03:50:21 +00:00
version = "6.0.0";
2017-01-22 20:46:31 +00:00
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
2019-01-10 03:50:21 +00:00
sha256 = "0j0r40llyry1sgc6p9wd7jrpydps2lnj4rwajjp37697g2bik89i";
2017-01-22 20:46:31 +00:00
};
dontBuild = true;
makeFlags = [
2017-07-24 10:25:38 +00:00
"PREFIX=$(out)"
"SYSCONFDIR=$(out)/etc"
2017-01-22 20:46:31 +00:00
];
meta = with stdenv.lib; {
description = "A fast, highly customizable system info script";
homepage = https://github.com/dylanaraps/neofetch;
license = licenses.mit;
platforms = platforms.all;
2017-07-24 10:25:38 +00:00
maintainers = with maintainers; [ alibabzo konimex ];
2017-01-22 20:46:31 +00:00
};
}