nixpkgs-suyu/pkgs/applications/window-managers/windowmaker/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

44 lines
1.5 KiB
Nix

{ 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.8";
srcName = "WindowMaker-${version}";
src = fetchurl {
url = "http://windowmaker.org/pub/source/release/${srcName}.tar.gz";
sha256 = "12p8kljqgx5hnic0zvs5mxwp7kg21sb6qjagb2qw8ydvf5amrgwx";
};
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-magick"
];
meta = with stdenv.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 ];
};
}
# TODO: investigate support for WEBP (its autodetection is failing)