14 stdenv.mkDerivation rec {
18 outputs = [ "out" "dev" "info" "doc" ]
19 # configure: WARNING: cannot generate manual pages while cross compiling
20 ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ "man" ];
22 src = fetchFromGitHub {
26 sha256 = "sha256-jXNhHzydWaMhFbEKoFHyZ77GCvAqxyT3P0xIAgFlTzY=";
47 # Required by Python bindings
53 substituteInPlace python/louis/__init__.py.in --replace "###LIBLOUIS_SONAME###" "$out/lib/liblouis.so"
58 python setup.py install --prefix="$out" --optimize=1
65 description = "Open-source braille translator and back-translator";
66 homepage = "http://liblouis.org/";
67 license = with licenses; [
71 maintainers = with maintainers; [ jtojnar ];
72 platforms = platforms.unix;