nixpkgs/pkgs/tools/misc/neofetch/default.nix
2018-05-18 01:41:03 +02:00

29 lines
657 B
Nix

{ stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
name = "neofetch-${version}";
version = "4.0.0";
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
sha256 = "1ijg6fmrqjgn87899q8cpbir93hqrq4070wzm62s9nmggdgzx6mn";
};
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 ];
};
}