fvwm3: refactor
- use lib.enableFeature - strictDeps - get rid of nested with - meta.longDescription - meta.changelog
This commit is contained in:
parent
c7ccaa7154
commit
b5b4992ef9
|
@ -1,9 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, asciidoctor
|
, asciidoctor
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, cairo
|
, cairo
|
||||||
|
, fetchFromGitHub
|
||||||
, fontconfig
|
, fontconfig
|
||||||
, freetype
|
, freetype
|
||||||
, fribidi
|
, fribidi
|
||||||
|
@ -27,6 +26,7 @@
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, readline
|
, readline
|
||||||
, sharutils
|
, sharutils
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-mandoc"
|
(lib.enableFeature true "mandoc")
|
||||||
];
|
];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
@ -87,11 +87,34 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
strictDeps = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "http://fvwm.org";
|
homepage = "http://fvwm.org";
|
||||||
description = "A multiple large virtual desktop window manager - Version 3";
|
description = "A multiple large virtual desktop window manager - Version 3";
|
||||||
license = licenses.gpl2Plus;
|
longDescription = ''
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
Fvwm is a virtual window manager for the X windows system. It was
|
||||||
|
originally a feeble fork of TWM by Robert Nation in 1993 (fvwm history),
|
||||||
|
and has evolved into the fantastic, fabulous, famous, flexible, and so on,
|
||||||
|
window manager we have today.
|
||||||
|
|
||||||
|
Fvwm is a ICCCM/EWMH compliant and highly configurable floating window
|
||||||
|
manager built primarily using Xlib. Fvwm is configured using a
|
||||||
|
configuration file, which is used to configure most aspects of the window
|
||||||
|
manager including window looks, key bindings, menus, window behavior,
|
||||||
|
additional modules, and more. There is a default configuration file that
|
||||||
|
can be used as a starting point for writing one's own configuration file.
|
||||||
|
|
||||||
|
Fvwm is a light weight window manager and can be configured to be anything
|
||||||
|
from a small sleek window manager to a full featured desktop
|
||||||
|
environment. To get the most out of fvwm, one should be willing to read
|
||||||
|
the documents, and take the time to write a custom configuration file that
|
||||||
|
suites their needs. The manual pages and the fvwm wiki can be used to help
|
||||||
|
learn how to configure fvwm.
|
||||||
|
'';
|
||||||
|
changelog = "https://github.com/fvwmorg/fvwm3/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||||
|
license = lib.licenses.gpl2Plus;
|
||||||
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
inherit (libX11.meta) platforms;
|
inherit (libX11.meta) platforms;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user