01847b7c5f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/neofetch/versions. These checks were done: - built on NixOS - /nix/store/s43pf19xk5iimnmddlwya810k9ah543v-neofetch-5.0.0/bin/neofetch passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 5.0.0 with grep in /nix/store/s43pf19xk5iimnmddlwya810k9ah543v-neofetch-5.0.0 - directory tree listing: https://gist.github.com/791916ab0ef95175e54b789ccd7be2e5 - du listing: https://gist.github.com/87e9057b70214b92a7a70e87f2d1ce9e
29 lines
657 B
Nix
29 lines
657 B
Nix
{ stdenv, fetchFromGitHub, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "neofetch-${version}";
|
|
version = "5.0.0";
|
|
src = fetchFromGitHub {
|
|
owner = "dylanaraps";
|
|
repo = "neofetch";
|
|
rev = version;
|
|
sha256 = "0yzyi2p0d8xp576lxyv5m9h60dl1d5dmrn40aad307872835b9rr";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"SYSCONFDIR=$(out)/etc"
|
|
];
|
|
|
|
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 konimex ];
|
|
};
|
|
}
|