mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
551815a457
Needs the shebang patched to run under the host bash interpreter rather than the build bash interpreter.
33 lines
761 B
Nix
33 lines
761 B
Nix
{ lib, stdenvNoCC, fetchFromGitHub, bash }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "neofetch";
|
|
version = "7.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dylanaraps";
|
|
repo = "neofetch";
|
|
rev = version;
|
|
sha256 = "0i7wpisipwzk0j62pzaigbiq42y1mn4sbraz4my2jlz6ahwf00kv";
|
|
};
|
|
|
|
strictDeps = true;
|
|
buildInputs = [ bash ];
|
|
postPatch = ''
|
|
patchShebangs --host neofetch
|
|
'';
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
"SYSCONFDIR=${placeholder "out"}/etc"
|
|
];
|
|
|
|
meta = with 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 konimex ];
|
|
};
|
|
}
|