2021-02-17 07:48:48 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub, bash }:
|
2017-01-22 20:46:31 +00:00
|
|
|
|
2021-02-17 07:48:48 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-08-31 06:30:22 +01:00
|
|
|
pname = "neofetch";
|
2020-08-11 09:27:31 +01:00
|
|
|
version = "7.1.0";
|
2019-08-31 06:30:22 +01:00
|
|
|
|
2017-01-22 20:46:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dylanaraps";
|
|
|
|
repo = "neofetch";
|
|
|
|
rev = version;
|
2020-08-11 09:27:31 +01:00
|
|
|
sha256 = "0i7wpisipwzk0j62pzaigbiq42y1mn4sbraz4my2jlz6ahwf00kv";
|
2017-01-22 20:46:31 +00:00
|
|
|
};
|
|
|
|
|
2021-02-17 07:48:48 +00:00
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [ bash ];
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs --host neofetch
|
|
|
|
'';
|
2017-01-22 20:46:31 +00:00
|
|
|
|
|
|
|
makeFlags = [
|
2019-08-31 06:30:22 +01:00
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
"SYSCONFDIR=${placeholder "out"}/etc"
|
2017-01-22 20:46:31 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-01-22 20:46:31 +00:00
|
|
|
description = "A fast, highly customizable system info script";
|
2020-03-10 09:09:46 +00:00
|
|
|
homepage = "https://github.com/dylanaraps/neofetch";
|
2017-01-22 20:46:31 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|