bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
36 lines
696 B
Nix
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 = [ ];
|
|
};
|
|
})
|