forked from mirrors/nixpkgs
neofetch: init at 2.0.2
This commit is contained in:
parent
df0301f59b
commit
15b4a37027
|
@ -27,6 +27,7 @@
|
||||||
akaWolf = "Artjom Vejsel <akawolf0@gmail.com>";
|
akaWolf = "Artjom Vejsel <akawolf0@gmail.com>";
|
||||||
akc = "Anders Claesson <akc@akc.is>";
|
akc = "Anders Claesson <akc@akc.is>";
|
||||||
algorith = "Dries Van Daele <dries_van_daele@telenet.be>";
|
algorith = "Dries Van Daele <dries_van_daele@telenet.be>";
|
||||||
|
alibabzo = "Alistair Bill <alistair.bill@gmail.com>";
|
||||||
all = "Nix Committers <nix-commits@lists.science.uu.nl>";
|
all = "Nix Committers <nix-commits@lists.science.uu.nl>";
|
||||||
ambrop72 = "Ambroz Bizjak <ambrop7@gmail.com>";
|
ambrop72 = "Ambroz Bizjak <ambrop7@gmail.com>";
|
||||||
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
|
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
|
||||||
|
|
33
pkgs/tools/misc/neofetch/default.nix
Normal file
33
pkgs/tools/misc/neofetch/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "neofetch-${version}";
|
||||||
|
version = "2.0.2";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dylanaraps";
|
||||||
|
repo = "neofetch";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "15fpm6nflf6w0c758xizfifvvxrkmcc2hpzrnfw6fcngfqcvajmd";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace ./neofetch \
|
||||||
|
--replace "/usr/share" "$out/share"
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"DESTDIR=$(out)"
|
||||||
|
"PREFIX="
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A fast, highly customizable system info script";
|
||||||
|
homepage = https://github.com/dylanaraps/neofetch;
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ alibabzo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2933,6 +2933,8 @@ in
|
||||||
|
|
||||||
ndjbdns = callPackage ../tools/networking/ndjbdns { };
|
ndjbdns = callPackage ../tools/networking/ndjbdns { };
|
||||||
|
|
||||||
|
neofetch = callPackage ../tools/misc/neofetch { };
|
||||||
|
|
||||||
nerdfonts = callPackage ../data/fonts/nerdfonts { };
|
nerdfonts = callPackage ../data/fonts/nerdfonts { };
|
||||||
|
|
||||||
nestopia = callPackage ../misc/emulators/nestopia { };
|
nestopia = callPackage ../misc/emulators/nestopia { };
|
||||||
|
|
Loading…
Reference in a new issue