2021-02-17 17:02:09 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, bash }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "neofetch";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "7.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dylanaraps";
|
|
|
|
repo = "neofetch";
|
|
|
|
rev = version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "0i7wpisipwzk0j62pzaigbiq42y1mn4sbraz4my2jlz6ahwf00kv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [ bash ];
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs --host neofetch
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
"SYSCONFDIR=${placeholder "out"}/etc"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|