gtypist: darwin compatibility (#15975)
This commit is contained in:
parent
53bf7e1907
commit
3204c2753d
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, makeWrapper, ncurses, perl, fortune}:
|
||||
{stdenv, fetchurl, makeWrapper, libiconv, ncurses, perl, fortune}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtypist-${version}";
|
||||
@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ncurses perl fortune ];
|
||||
buildInputs = [ makeWrapper ncurses perl fortune ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/typefortune" \
|
||||
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://www.gnu.org/software/gtypist;
|
||||
description = "Universal typing tutor";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user