2015-02-18 20:53:47 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, libXpm, libXext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "wmCalClock-1.25";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmCalClock-1.25.tar.gz;
|
|
|
|
sha256 = "4b42b55bb7c1d7c58b5ee1f0058c683d3e4f3e3380d3a69c54a50b983c7c1b3f";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXpm libXext ];
|
2015-02-18 20:53:47 +00:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/Src";
|
|
|
|
|
|
|
|
buildPhase=''
|
|
|
|
make prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin
|
|
|
|
mkdir -pv $out/man/man1
|
|
|
|
make DESTDIR=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Clock for Windowmaker";
|
|
|
|
homepage = "http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html#wmcalclock";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bstrik ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-02-18 20:53:47 +00:00
|
|
|
};
|
|
|
|
}
|