mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
e95e7027c9
* klavaro: 3.04 -> 3.05 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
31 lines
837 B
Nix
31 lines
837 B
Nix
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, curl, gtk3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "klavaro-${version}";
|
|
version = "3.05";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
|
|
sha256 = "046xc7is1jz5azkwrb7i9wdqkz8hdm68ga02g6whmi53130wd0py";
|
|
};
|
|
|
|
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];
|
|
};
|
|
}
|