3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/neofetch/default.nix

29 lines
663 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2017-01-22 20:46:31 +00:00
stdenv.mkDerivation rec {
2019-08-31 06:30:22 +01:00
pname = "neofetch";
version = "6.1.0";
2017-01-22 20:46:31 +00:00
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
2019-08-31 06:30:22 +01:00
sha256 = "022xzn9jk18k2f4b6011d8jk5nbl84i3mw3inlz4q52p2hvk8fch";
2017-01-22 20:46:31 +00:00
};
dontBuild = true;
makeFlags = [
2019-08-31 06:30:22 +01:00
"PREFIX=${placeholder "out"}"
"SYSCONFDIR=${placeholder "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
};
}