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

29 lines
657 B
Nix
Raw Normal View History

2017-07-24 11:25:38 +01:00
{ stdenv, fetchFromGitHub, fetchpatch }:
2017-01-22 20:46:31 +00:00
stdenv.mkDerivation rec {
name = "neofetch-${version}";
2017-09-14 13:54:29 +01:00
version = "3.3.0";
2017-01-22 20:46:31 +00:00
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
2017-09-14 13:54:29 +01:00
sha256 = "1f1hvd635wv81qg802jdi0yggi4631w9nlznipaxkvk4y1zpdq5j";
2017-01-22 20:46:31 +00:00
};
dontBuild = true;
makeFlags = [
2017-07-24 11:25:38 +01: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 11:25:38 +01:00
maintainers = with maintainers; [ alibabzo konimex ];
2017-01-22 20:46:31 +00:00
};
}