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

29 lines
663 B
Nix
Raw Normal View History

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