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