nixpkgs/pkgs/games/klavaro/default.nix
R. RyanTM a5596b451a klavaro: 3.07 -> 3.08
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/klavaro/versions
2019-07-02 20:06:37 +02:00

31 lines
837 B
Nix

{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, curl, gtk3 }:
stdenv.mkDerivation rec {
name = "klavaro-${version}";
version = "3.08";
src = fetchurl {
url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
sha256 = "0qmvr6d8wshwp0xvk5wbig4vlzxzcxrakhyhd32v8v3s18nhqsrc";
};
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
buildInputs = [ 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";
homepage = http://klavaro.sourceforge.net/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [stdenv.lib.maintainers.mimadrid];
};
}