1 { lib, stdenv, fetchurl, libX11, xorgproto, libXt, libICE, libSM, libXext }:
3 stdenv.mkDerivation rec {
8 url="https://www.jwz.org/xdaliclock/${pname}-${version}.tar.gz";
9 sha256 = "1gsgnsm6ql0mcg9zpdkhws3g23r3a92bc3rpg4qbgbmd02nvj3c0";
12 # Note: don't change this to set sourceRoot, or updateAutotoolsGnuConfigScriptsHook
13 # on aarch64 doesn't find the files to patch and the aarch64 build fails!
14 preConfigure = "cd X11";
16 buildInputs = [ libX11 xorgproto libXt libICE libSM libXext ];
19 mkdir -vp $out/bin $out/share/man/man1
23 description = "A clock application that morphs digits when they are changed";
24 maintainers = with maintainers; [ raskin rycee ];
25 platforms = with platforms; linux ++ freebsd;
26 license = licenses.free; #TODO BSD on Gentoo, looks like MIT
27 downloadPage = "http://www.jwz.org/xdaliclock/";