2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2017-01-22 21:46:31 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "neofetch-${version}";
|
2018-06-25 15:52:53 +02:00
|
|
|
version = "5.0.0";
|
2017-01-22 21:46:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dylanaraps";
|
|
|
|
repo = "neofetch";
|
|
|
|
rev = version;
|
2018-06-25 15:52:53 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|