slstatus: unstable-2018-04-16 -> unstable-2019-02-16 (#89732)

This commit is contained in:
Ivar 2020-07-09 02:12:18 +02:00 committed by GitHub
parent ce8fffaed3
commit ee47d9fbf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];