2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, dockapps-sources
|
|
|
|
, fontutil
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXpm
|
|
|
|
, mkfontdir
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2020-11-12 09:05:59 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-11-12 09:05:59 +00:00
|
|
|
pname = "libdockapp";
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
inherit (dockapps-sources) version src;
|
|
|
|
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/libdockapp";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext libXpm fontutil mkfontdir ];
|
|
|
|
|
|
|
|
# There is a bug on --with-font
|
|
|
|
configureFlags = [
|
|
|
|
"--with-examples=no"
|
|
|
|
"--with-font=no"
|
|
|
|
];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library providing a framework for dockapps";
|
2020-11-12 09:05:59 +00:00
|
|
|
homepage = "https://www.dockapps.net/libdockapp";
|
2023-11-16 04:20:00 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ ];
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
2023-11-16 04:20:00 +00:00
|
|
|
})
|