forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
30 lines
975 B
Nix
30 lines
975 B
Nix
{ fetchurl, lib, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkg-config, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "i3status-2.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://i3wm.org/i3status/${name}.tar.bz2";
|
|
sha256 = "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config 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 = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
|
|
homepage = "https://i3wm.org";
|
|
maintainers = [ ];
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
|
|
}
|