nixpkgs/pkgs/applications/window-managers/fvwm/default.nix

34 lines
965 B
Nix
Raw Normal View History

{ gestures ? false
, stdenv, fetchurl, pkgconfig
2013-03-01 06:48:33 +01:00
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
2015-12-05 17:15:20 +01:00
, libXpm, libXt, librsvg, libpng, fribidi, perl
, libstroke ? null
2013-03-01 06:48:33 +01:00
}:
assert gestures -> libstroke != null;
2013-03-01 06:48:33 +01:00
stdenv.mkDerivation rec {
pname = "fvwm";
version = "2.6.9";
2013-03-01 06:48:33 +01:00
src = fetchurl {
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv";
2013-03-01 06:48:33 +01:00
};
nativeBuildInputs = [ pkgconfig ];
2013-03-01 06:48:33 +01:00
buildInputs = [
cairo fontconfig freetype
2015-12-05 17:15:20 +01:00
libXft libXcursor libXinerama libXpm libXt
2013-03-01 06:48:33 +01:00
librsvg libpng fribidi perl
] ++ stdenv.lib.optional gestures libstroke;
2013-03-01 06:48:33 +01:00
meta = {
homepage = "http://fvwm.org";
2013-03-01 06:48:33 +01:00
description = "A multiple large virtual desktop window manager";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
2017-04-06 15:05:32 +02:00
maintainers = with stdenv.lib.maintainers; [ edanaher ];
2013-03-01 06:48:33 +01:00
};
}