14 stdenv.mkDerivation (finalAttrs: {
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 {
25 rev = "v${finalAttrs.version}";
26 hash = "sha256-5umpIscs4Y8MSaoY7yKtBFmlIa8QDQtjBxoysZ+GTm8=";
50 # Required by Python bindings
56 substituteInPlace python/louis/__init__.py.in --replace "###LIBLOUIS_SONAME###" "$out/lib/liblouis.so"
61 python setup.py install --prefix="$out" --optimize=1
68 description = "Open-source braille translator and back-translator";
69 homepage = "https://liblouis.io/";
70 license = with licenses; [
74 maintainers = with maintainers; [ jtojnar ];
75 platforms = platforms.unix;