diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-11-08 23:24:51 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-11-09 17:35:31 -0300 |
commit | 9f20bdc582f7adec3b96a8b67450f19d458339b2 (patch) | |
tree | 7a1c083d718e2ead6d05ef7d0461e34632343e2c | |
parent | 7a7b4b49d594ebd244f0f1538a75954379a34629 (diff) |
wmCalClock: stay at 1.25
-rw-r--r-- | pkgs/applications/window-managers/windowmaker/dockapps/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/window-managers/windowmaker/dockapps/wmCalClock.nix | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/windowmaker/dockapps/default.nix b/pkgs/applications/window-managers/windowmaker/dockapps/default.nix index 3f96d3ef6b4d..536c70445e2b 100644 --- a/pkgs/applications/window-managers/windowmaker/dockapps/default.nix +++ b/pkgs/applications/window-managers/windowmaker/dockapps/default.nix @@ -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 { }; }) diff --git a/pkgs/applications/window-managers/windowmaker/dockapps/wmCalClock.nix b/pkgs/applications/window-managers/windowmaker/dockapps/wmCalClock.nix new file mode 100644 index 000000000000..f8ea781858a4 --- /dev/null +++ b/pkgs/applications/window-managers/windowmaker/dockapps/wmCalClock.nix @@ -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; + }; +} |