2014-11-08 16:12:37 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, curl, gtk3 }:
|
2012-07-02 14:37:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-06-09 18:49:26 +00:00
|
|
|
name = "klavaro-${version}";
|
2019-06-04 02:24:06 +00:00
|
|
|
version = "3.07";
|
2012-07-02 14:37:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
|
2019-06-04 02:24:06 +00:00
|
|
|
sha256 = "1zz7kr3rhprn1ixmh58x8sdmdfl42lki7vgbina3sgnamx31zia5";
|
2012-07-02 14:37:17 +00:00
|
|
|
};
|
|
|
|
|
2019-04-23 23:04:17 +00:00
|
|
|
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
|
|
|
|
buildInputs = [ curl gtk3 ];
|
2014-11-08 16:12:37 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/klavaro \
|
|
|
|
--prefix LD_LIBRARY_PATH : $out/lib
|
|
|
|
'';
|
2012-07-02 14:37:17 +00:00
|
|
|
|
2017-05-16 14:35:52 +00:00
|
|
|
# Hack to avoid TMPDIR in RPATHs.
|
|
|
|
preFixup = ''rm -rf "$(pwd)" '';
|
|
|
|
|
2012-07-02 14:37:17 +00:00
|
|
|
meta = {
|
|
|
|
description = "Just another free touch typing tutor program";
|
2014-11-08 16:12:37 +00:00
|
|
|
homepage = http://klavaro.sourceforge.net/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2012-07-02 14:37:17 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-06-07 17:27:47 +00:00
|
|
|
maintainers = [stdenv.lib.maintainers.mimadrid];
|
2012-07-02 14:37:17 +00:00
|
|
|
};
|
|
|
|
}
|