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

29 lines
645 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2017-01-22 21:46:31 +01:00
stdenv.mkDerivation rec {
name = "neofetch-${version}";
version = "5.0.0";
2017-01-22 21:46:31 +01:00
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
sha256 = "0yzyi2p0d8xp576lxyv5m9h60dl1d5dmrn40aad307872835b9rr";
2017-01-22 21:46:31 +01:00
};
dontBuild = true;
makeFlags = [
2017-07-24 12:25:38 +02:00
"PREFIX=$(out)"
"SYSCONFDIR=$(out)/etc"
2017-01-22 21:46:31 +01: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 12:25:38 +02:00
maintainers = with maintainers; [ alibabzo konimex ];
2017-01-22 21:46:31 +01:00
};
}