1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/games/klavaro/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

31 lines
837 B
Nix

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