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