3
0
Fork 0
forked from mirrors/nixpkgs

libdockapp: init at 0.7.3

This commit is contained in:
AndersonTorres 2020-11-08 23:12:25 -03:00
parent 8741edb2ec
commit 04e33d64aa
2 changed files with 31 additions and 0 deletions

View file

@ -8,4 +8,5 @@ lib.makeScope pkgs.newScope (self: with self; {
sha256 = "sha256-BuSnwPIj3gUWMjj++SK+117xm/77u4gXLQzRFttei0w=";
};
libdockapp = callPackage ./libdockapp.nix { };
})

View file

@ -0,0 +1,30 @@
{ 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 ];
};
}