3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/klavaro/default.nix

31 lines
837 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 19:49:26 +01:00
name = "klavaro-${version}";
version = "3.04";
src = fetchurl {
url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
sha256 = "148vznikdn424938fmizgd281ky7311q51mw2zfzrallj87dzbqf";
};
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
'';
# 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 18:27:47 +01:00
maintainers = [stdenv.lib.maintainers.mimadrid];
};
}