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

29 lines
665 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub }:
2017-01-22 23:46:31 +03:00
stdenv.mkDerivation rec {
2019-08-31 08:30:22 +03:00
pname = "neofetch";
2020-03-10 12:09:46 +03:00
version = "7.0.0";
2019-08-31 08:30:22 +03:00
2017-01-22 23:46:31 +03:00
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
2020-03-10 12:09:46 +03:00
sha256 = "0xc0fdc7n5bhqirh83agqiy8r14l14zwca07czvj8vgnsnfybslr";
2017-01-22 23:46:31 +03:00
};
dontBuild = true;
makeFlags = [
2019-08-31 08:30:22 +03:00
"PREFIX=${placeholder "out"}"
"SYSCONFDIR=${placeholder "out"}/etc"
2017-01-22 23:46:31 +03:00
];
meta = with stdenv.lib; {
description = "A fast, highly customizable system info script";
2020-03-10 12:09:46 +03:00
homepage = "https://github.com/dylanaraps/neofetch";
2017-01-22 23:46:31 +03:00
license = licenses.mit;
platforms = platforms.all;
2017-07-24 13:25:38 +03:00
maintainers = with maintainers; [ alibabzo konimex ];
2017-01-22 23:46:31 +03:00
};
}