4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
44 lines
1.5 KiB
Nix
44 lines
1.5 KiB
Nix
{ lib, stdenv, fetchurl, pkgconfig
|
|
, libX11, libXext, libXft, libXmu, libXinerama, libXrandr, libXpm
|
|
, imagemagick, libpng, libjpeg, libexif, libtiff, libungif, libwebp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "windowmaker";
|
|
version = "0.95.9";
|
|
srcName = "WindowMaker-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://windowmaker.org/pub/source/release/${srcName}.tar.gz";
|
|
sha256 = "055pqvlkhipyjn7m6bb3fs4zz9rd1ynzl0mmwbhp05ihc3zmh8zj";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXext libXft libXmu libXinerama libXrandr libXpm
|
|
imagemagick libpng libjpeg libexif libtiff libungif libwebp ];
|
|
|
|
configureFlags = [
|
|
"--with-x"
|
|
"--enable-modelock"
|
|
"--enable-randr"
|
|
"--enable-webp"
|
|
"--disable-magick" # Many distros reported imagemagick fails to be found
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://windowmaker.org/";
|
|
description = "NeXTSTEP-like window manager";
|
|
longDescription = ''
|
|
Window Maker is an X11 window manager originally designed to
|
|
provide integration support for the GNUstep Desktop
|
|
Environment. In every way possible, it reproduces the elegant look
|
|
and feel of the NEXTSTEP user interface. It is fast, feature rich,
|
|
easy to configure, and easy to use. It is also free software, with
|
|
contributions being made by programmers from around the world.
|
|
'';
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
};
|
|
}
|