Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-04-24 00:16:17 +00:00
committed by GitHub
54 changed files with 1710 additions and 1573 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils }:
{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils, ueberzug }:
stdenvNoCC.mkDerivation rec {
pname = "neofetch";
version = "7.1.0";
version = "unstable-2020-11-26";
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "neofetch";
rev = version;
sha256 = "0i7wpisipwzk0j62pzaigbiq42y1mn4sbraz4my2jlz6ahwf00kv";
rev = "6dd85d67fc0d4ede9248f2df31b2cd554cca6c2f";
sha256 = "sha256-PZjFF/K7bvPIjGVoGqaoR8pWE6Di/qJVKFNcIz7G8xE=";
};
strictDeps = true;
@@ -20,7 +20,7 @@ stdenvNoCC.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix PATH : ${lib.makeBinPath [ pciutils ]}
--prefix PATH : ${lib.makeBinPath [ pciutils ueberzug ]}
'';
makeFlags = [
+10
View File
@@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, bison
@@ -31,6 +32,15 @@ stdenv.mkDerivation rec {
sha256 = "0alq81h1rz1f0zsy8qb2dvsl47axpa86j4bplngwkph0ksqqgr3p";
};
patches = [
# Fix cross-compilation
# https://github.com/tmux/tmux/pull/2651
(fetchpatch {
url = "https://github.com/tmux/tmux/commit/bb6242675ad0c7447daef148fffced882e5b4a61.patch";
sha256 = "1acr3xv3gqpq7qa2f8hw7c4f42hi444lfm1bz6wqj8f3yi320zjr";
})
];
nativeBuildInputs = [
pkg-config
autoreconfHook