3
0
Fork 0
forked from mirrors/nixpkgs

wmCalClock: stay at 1.25

This commit is contained in:
AndersonTorres 2020-11-08 23:24:51 -03:00
parent 7a7b4b49d5
commit 9f20bdc582
2 changed files with 40 additions and 0 deletions

View file

@ -11,4 +11,6 @@ lib.makeScope pkgs.newScope (self: with self; {
libdockapp = callPackage ./libdockapp.nix { };
AlsaMixer-app = callPackage ./AlsaMixer-app.nix { };
wmCalClock = callPackage ./wmCalClock.nix { };
})

View file

@ -0,0 +1,38 @@
{ stdenv, dockapps-sources
, libX11, libXpm, libXext }:
stdenv.mkDerivation rec {
pname = "wmCalClock";
version = "1.25";
src = dockapps-sources;
buildInputs = [ libX11 libXpm libXext ];
setSourceRoot = ''
export sourceRoot=$(echo */${pname}/Src)
'';
preBuild = ''
makeFlagsArray+=(
CC="cc"
INCDIR="-I${libX11.dev}/include -I${libXext.dev}/include -I${libXpm.dev}/include"
LIBDIR="-I${libX11}/lib -I${libXext}/lib -I${libXpm}/lib"
)
'';
preInstall = ''
install -d ${placeholder "out"}/bin
install -d ${placeholder "out"}/man/man1
'';
installFlags = [ "DESTDIR=${placeholder "out"}" ];
meta = with stdenv.lib; {
description = "A Calendar clock with antialiased text";
homepage = "https://www.dockapps.net/wmcalclock";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bstrik ];
platforms = platforms.linux;
};
}