commit
71adcb757b
@ -1,12 +1,20 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, curl, gtk3 }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, makeWrapper
|
||||||
|
, curl
|
||||||
|
, file
|
||||||
|
, gtk3
|
||||||
|
, intltool
|
||||||
|
, pkgconfig
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "klavaro";
|
pname = "klavaro";
|
||||||
version = "3.08";
|
version = "3.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/klavaro/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/klavaro/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "0qmvr6d8wshwp0xvk5wbig4vlzxzcxrakhyhd32v8v3s18nhqsrc";
|
sha256 = "0jnzdrndiq6m0bwgid977z5ghp4q61clwdlzfpx4fd2ml5x3iq95";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
|
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
|
||||||
@ -17,14 +25,20 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix LD_LIBRARY_PATH : $out/lib
|
--prefix LD_LIBRARY_PATH : $out/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Fixes /usr/bin/file: No such file or directory
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace configure \
|
||||||
|
--replace "/usr/bin/file" "${file}/bin/file"
|
||||||
|
'';
|
||||||
|
|
||||||
# Hack to avoid TMPDIR in RPATHs.
|
# Hack to avoid TMPDIR in RPATHs.
|
||||||
preFixup = ''rm -rf "$(pwd)" '';
|
preFixup = ''rm -rf "$(pwd)" '';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Just another free touch typing tutor program";
|
description = "Free touch typing tutor program";
|
||||||
homepage = "http://klavaro.sourceforge.net/";
|
homepage = "http://klavaro.sourceforge.net/";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [stdenv.lib.maintainers.mimame];
|
maintainers = with maintainers; [ mimame davidak ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user