windowmaker.dockapps.libdockapp: refactor
This commit is contained in:
parent
4f3caa10b9
commit
1cdcf67319
1 changed files with 19 additions and 13 deletions
|
@ -1,30 +1,36 @@
|
|||
{ lib, stdenv, dockapps-sources, autoreconfHook, pkg-config
|
||||
, libX11, libXext, libXpm, mkfontdir, fontutil }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, dockapps-sources
|
||||
, fontutil
|
||||
, libX11
|
||||
, libXext
|
||||
, libXpm
|
||||
, mkfontdir
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libdockapp";
|
||||
version = "0.7.3";
|
||||
|
||||
src = dockapps-sources;
|
||||
inherit (dockapps-sources) version src;
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/libdockapp";
|
||||
|
||||
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 lib; {
|
||||
meta = {
|
||||
description = "A library providing a framework for dockapps";
|
||||
homepage = "https://www.dockapps.net/libdockapp";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.bstrik ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue