mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #118256 from djwf/fvwm
fvwm: add readline, fix man build, refactor fetch
This commit is contained in:
commit
816545d2a3
@ -1,27 +1,37 @@
|
||||
{ gestures ? false
|
||||
, lib, stdenv, fetchurl, pkg-config
|
||||
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
||||
, libXpm, libXt, librsvg, libpng, fribidi, perl
|
||||
, libstroke ? null
|
||||
}:
|
||||
|
||||
assert gestures -> libstroke != null;
|
||||
{ autoreconfHook, enableGestures ? false, lib, stdenv, fetchFromGitHub
|
||||
, pkg-config, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
||||
, libXpm, libXt, librsvg, libpng, fribidi, perl, libstroke, readline, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fvwm";
|
||||
version = "2.6.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv";
|
||||
src = fetchFromGitHub {
|
||||
owner = "fvwmorg";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "14jwckhikc9n4h93m00pzjs7xm2j0dcsyzv3q5vbcnknp6p4w5dh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [
|
||||
cairo fontconfig freetype
|
||||
libXft libXcursor libXinerama libXpm libXt
|
||||
librsvg libpng fribidi perl
|
||||
] ++ lib.optional gestures libstroke;
|
||||
cairo
|
||||
fontconfig
|
||||
freetype
|
||||
libXft
|
||||
libXcursor
|
||||
libXinerama
|
||||
libXpm
|
||||
libXt
|
||||
librsvg
|
||||
libpng
|
||||
fribidi
|
||||
perl
|
||||
readline
|
||||
libxslt
|
||||
] ++ lib.optional enableGestures libstroke;
|
||||
|
||||
configureFlags = [ "--enable-mandoc" "--disable-htmldoc" ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://fvwm.org";
|
||||
|
Loading…
Reference in New Issue
Block a user