Skip to content

Commit

Permalink
slstatus: unstable-2018-04-16 -> unstable-2019-02-16 (#89732)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvarWithoutBones committed Jul 9, 2020
1 parent ce8fffa commit ee47d9f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions 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 ];

Expand Down

0 comments on commit ee47d9f

Please sign in to comment.