nixpkgs/pkgs/games/klavaro/default.nix

30 lines
810 B
Nix
Raw Normal View History

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