2019-09-08 00:16:38 +01:00
|
|
|
{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, 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
|
|
|
};
|
|
|
|
|
2019-09-08 00:16:38 +01: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 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 = {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A tiling window manager";
|
2018-05-01 04:03:23 +01:00
|
|
|
homepage = https://i3wm.org;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = [ ];
|
2012-04-30 15:34:57 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2013-03-29 17:24:24 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|