c1daf6eab8
Build now relies on cmake. Added outputs "doc" and "man". Setting CMAKE_INSTALL_SYSCONF_PREFIX is needed for bash completion directory, otherwise it tries to put files in /etc/bash_completion.d
44 lines
898 B
Nix
44 lines
898 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, glib, libX11, libXext, libXinerama, libXrandr, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "herbstluftwm";
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://herbstluftwm.org/tarballs/herbstluftwm-${version}.tar.gz";
|
|
sha256 = "04n8cmrgb490kfn70x9kgxp286mrrn7nb4irhi7nvbm6lv0z28sq";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"doc"
|
|
"man"
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_INSTALL_SYSCONF_PREFIX=${placeholder "out"}/etc"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkgconfig
|
|
asciidoc
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libX11
|
|
libXext
|
|
libXinerama
|
|
libXrandr
|
|
];
|
|
|
|
meta = {
|
|
description = "A manual tiling window manager for X";
|
|
homepage = "https://herbstluftwm.org/";
|
|
license = stdenv.lib.licenses.bsd2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
};
|
|
}
|