depot/third_party/nixpkgs/pkgs/by-name/wi/windowmaker/dockapps/libdockapp.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
696 B
Nix

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