windowmaker.dockapps.wmCalClock: refactor
This commit is contained in:
parent
1cdcf67319
commit
b4ea4367f7
@ -1,17 +1,23 @@
|
|||||||
{ lib, stdenv, dockapps-sources
|
{ lib
|
||||||
, libX11, libXpm, libXext }:
|
, stdenv
|
||||||
|
, dockapps-sources
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXpm
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "wmCalClock";
|
pname = "wmCalClock";
|
||||||
version = "1.25";
|
|
||||||
|
|
||||||
src = dockapps-sources;
|
inherit (dockapps-sources) version src;
|
||||||
|
|
||||||
buildInputs = [ libX11 libXpm libXext ];
|
sourceRoot = "${finalAttrs.src.name}/wmCalClock";
|
||||||
|
|
||||||
setSourceRoot = ''
|
buildInputs = [
|
||||||
export sourceRoot=$(echo */${pname}/Src)
|
libX11
|
||||||
'';
|
libXpm
|
||||||
|
libXext
|
||||||
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray+=(
|
makeFlagsArray+=(
|
||||||
@ -28,11 +34,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "A Calendar clock with antialiased text";
|
description = "A Calendar clock with antialiased text";
|
||||||
homepage = "https://www.dockapps.net/wmcalclock";
|
homepage = "https://www.dockapps.net/wmcalclock";
|
||||||
license = licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
maintainers = [ maintainers.bstrik ];
|
maintainers = [ ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user