xmlroff: 0.6.2 -> 0.6.3
This commit is contained in:
parent
0213ccf624
commit
34c089e7ce
@ -1,49 +1,55 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, popt, perl
|
{ stdenv, fetchFromGitHub
|
||||||
, glib, pango, pangoxsl, gtk2, libtool, autoconf, automake }:
|
, autoreconfHook
|
||||||
|
, gtk2
|
||||||
|
, libxml2
|
||||||
|
, libxslt
|
||||||
|
, pango
|
||||||
|
, pangoxsl
|
||||||
|
, perl
|
||||||
|
, pkgconfig
|
||||||
|
, popt
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xmlroff";
|
pname = "xmlroff";
|
||||||
version = "0.6.2";
|
version = "0.6.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/xmlroff/xmlroff/archive/v${version}.tar.gz";
|
owner = pname;
|
||||||
sha256 = "1sczn6xjczsfdxlbjqv4xqlki2a95y2s8ih2nl9v1vhqfk17fiww";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0dgp72094lx9i9gvg21pp8ak7bg39707rdf6wz011p9s6n6lrq5g";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf
|
|
||||||
automake
|
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt
|
||||||
libtool
|
|
||||||
glib
|
|
||||||
pango
|
pango
|
||||||
pangoxsl
|
pangoxsl
|
||||||
gtk2
|
gtk2
|
||||||
popt
|
popt
|
||||||
];
|
];
|
||||||
|
|
||||||
|
sourceRoot = "source/xmlroff/";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureScript = "./autogen.sh";
|
configureScript = "./autogen.sh";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-pangoxsl"
|
|
||||||
"--disable-gp"
|
"--disable-gp"
|
||||||
];
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
substituteInPlace tools/insert-file-as-string.pl --replace "/usr/bin/perl" "${perl}/bin/perl"
|
substituteInPlace tools/insert-file-as-string.pl --replace "/usr/bin/perl" "${perl}/bin/perl"
|
||||||
substituteInPlace Makefile --replace "docs" ""
|
substituteInPlace Makefile --replace "docs" "" # docs target wants to download from network
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sourceRoot = "${pname}-${version}/xmlroff/";
|
meta = with stdenv.lib; {
|
||||||
|
description = "XSL Formatter";
|
||||||
patches = [./xmlroff.patch];
|
homepage = "http://xmlroff.org/";
|
||||||
|
platforms = platforms.unix;
|
||||||
meta = {
|
license = licenses.bsd3;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
|
||||||
license = stdenv.lib.licenses.bsd3;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user