depot/third_party/nixpkgs/pkgs/applications/window-managers/windowmaker/dockapps/libdockapp.nix
Default email 7cbac10661 Project import generated by Copybara.
GitOrigin-RevId: a371c1071161104d329f6a85d922fd92b7cbab63
2020-11-12 09:05:59 +00:00

30 lines
728 B
Nix

{ stdenv, dockapps-sources, autoreconfHook, pkg-config
, libX11, libXext, libXpm, mkfontdir, fontutil }:
stdenv.mkDerivation rec {
pname = "libdockapp";
version = "0.7.3";
src = dockapps-sources;
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libX11 libXext libXpm fontutil mkfontdir ];
setSourceRoot = ''
export sourceRoot=$(echo */${pname})
'';
# There is a bug on --with-font
configureFlags = [
"--with-examples=no"
"--with-font=no"
];
meta = with stdenv.lib; {
description = "A library providing a framework for dockapps";
homepage = "https://www.dockapps.net/libdockapp";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bstrik ];
};
}