2014-11-08 16:12:37 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, curl, gtk3 }:
|
2012-07-02 15:37:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-06-09 19:49:26 +01:00
|
|
|
name = "klavaro-${version}";
|
2019-03-15 17:09:18 +00:00
|
|
|
version = "3.04";
|
2012-07-02 15:37:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
|
2019-03-15 17:09:18 +00:00
|
|
|
sha256 = "148vznikdn424938fmizgd281ky7311q51mw2zfzrallj87dzbqf";
|
2012-07-02 15:37:17 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ makeWrapper intltool curl gtk3 ];
|
2014-11-08 16:12:37 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/klavaro \
|
|
|
|
--prefix LD_LIBRARY_PATH : $out/lib
|
|
|
|
'';
|
2012-07-02 15:37:17 +01:00
|
|
|
|
2017-05-16 15:35:52 +01:00
|
|
|
# Hack to avoid TMPDIR in RPATHs.
|
|
|
|
preFixup = ''rm -rf "$(pwd)" '';
|
|
|
|
|
2012-07-02 15:37:17 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2012-07-02 15:37:17 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-06-07 18:27:47 +01:00
|
|
|
maintainers = [stdenv.lib.maintainers.mimadrid];
|
2012-07-02 15:37:17 +01:00
|
|
|
};
|
|
|
|
}
|