2019-09-07 23:16:38 +00:00
|
|
|
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
|
2012-04-30 14:34:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-07 23:16:38 +00:00
|
|
|
name = "i3status-2.13";
|
2012-04-30 14:34:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 05:04:25 +00:00
|
|
|
url = "https://i3wm.org/i3status/${name}.tar.bz2";
|
2019-09-07 23:16:38 +00:00
|
|
|
sha256 = "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff";
|
2012-04-30 14:34:57 +00:00
|
|
|
};
|
|
|
|
|
2019-09-07 23:16:38 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ];
|
2018-11-25 17:20:42 +00:00
|
|
|
buildInputs = [ libconfuse yajl alsaLib libpulseaudio libnl ];
|
2012-04-30 14:34:57 +00:00
|
|
|
|
2016-02-08 04:20:44 +00:00
|
|
|
makeFlags = [ "all" "PREFIX=$(out)" ];
|
2012-04-30 14:34:57 +00:00
|
|
|
|
2019-09-07 23:16:38 +00:00
|
|
|
# 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
|
|
|
|
'';
|
|
|
|
|
2012-04-30 14:34:57 +00:00
|
|
|
meta = {
|
2019-09-08 08:23:14 +00:00
|
|
|
description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://i3wm.org";
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = [ ];
|
2012-04-30 14:34:57 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2013-03-29 17:24:24 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2012-04-30 14:34:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|