1 { lib, stdenv, fetchFromGitHub
12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "0dgp72094lx9i9gvg21pp8ak7bg39707rdf6wz011p9s6n6lrq5g";
23 nativeBuildInputs = [ autoreconfHook pkg-config ];
32 sourceRoot = "source/xmlroff/";
34 enableParallelBuilding = true;
36 configureScript = "./autogen.sh";
43 substituteInPlace tools/insert-file-as-string.pl --replace "/usr/bin/perl" "${perl}/bin/perl"
44 substituteInPlace Makefile --replace "docs" "" # docs target wants to download from network
48 description = "XSL Formatter";
49 homepage = "http://xmlroff.org/";
50 platforms = platforms.unix;
51 license = licenses.bsd3;