2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, dockapps-sources, autoreconfHook, pkg-config
|
2020-11-09 02:12:25 +00:00
|
|
|
, 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"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-09 02:12:25 +00:00
|
|
|
description = "A library providing a framework for dockapps";
|
|
|
|
homepage = "https://www.dockapps.net/libdockapp";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.bstrik ];
|
|
|
|
};
|
|
|
|
}
|