From ee47d9fbf3ceeb8045b6f04c4c00436850aa9db2 Mon Sep 17 00:00:00 2001 From: Ivar <41924494+IvarWithoutBones@users.noreply.github.com> Date: Thu, 9 Jul 2020 02:12:18 +0200 Subject: [PATCH] slstatus: unstable-2018-04-16 -> unstable-2019-02-16 (#89732) --- pkgs/applications/misc/slstatus/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/slstatus/default.nix b/pkgs/applications/misc/slstatus/default.nix index 5c13cbf86694..01dd6a19d44f 100644 --- a/pkgs/applications/misc/slstatus/default.nix +++ b/pkgs/applications/misc/slstatus/default.nix @@ -1,20 +1,22 @@ -{ stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null }: +{ stdenv, fetchgit, pkgconfig, writeText, libX11, conf ? null, patches ? [] }: with stdenv.lib; stdenv.mkDerivation rec { pname = "slstatus"; - version = "unstable-2018-04-16"; + version = "unstable-2019-02-16"; src = fetchgit { url = "https://git.suckless.org/slstatus"; - rev = "97ef7c2a1d67bb2c9c379e657fbc8e35acd6aafb"; - sha256 = "1777hgl10imk0l2sgnqgbkfchv1mpxrd82ninzwp7f1rgwchz36v"; + rev = "b14e039639ed28005fbb8bddeb5b5fa0c93475ac"; + sha256 = "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4"; }; configFile = optionalString (conf!=null) (writeText "config.def.h" conf); preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; + inherit patches; + nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libX11 ];