Merge pull request #68289 from exi/i3status-bump

i3status: 2.12 -> 2.13
This commit is contained in:
Maximilian Bosch 2019-09-08 10:42:50 +02:00 committed by GitHub
commit 5972fba871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,25 @@
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig
}:
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
stdenv.mkDerivation rec {
name = "i3status-2.12";
name = "i3status-2.13";
src = fetchurl {
url = "https://i3wm.org/i3status/${name}.tar.bz2";
sha256 = "06krpbijv4yi33nypg6qcn4hilcrdyarsdpd9fmr2cq46qaqiikg";
sha256 = "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ];
buildInputs = [ libconfuse yajl alsaLib libpulseaudio libnl ];
makeFlags = [ "all" "PREFIX=$(out)" ];
# This hack is needed because for unknown reasons configure generates a broken makefile on the 2.13 release under nixos
preBuild = ''
sed -i -e 's/\$(TEST_LOGS) \$(TEST_LOGS/\$(TEST_LOGS)/g' Makefile
'';
meta = {
description = "A tiling window manager";
description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
homepage = https://i3wm.org;
maintainers = [ ];
license = stdenv.lib.licenses.bsd3;