2015-08-27 15:56:43 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2003-11-25 16:59:07 +00:00
|
|
|
|
2015-08-27 15:56:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-10-12 17:50:51 +01:00
|
|
|
name = "docbook-xsl-1.78.1";
|
2015-08-27 15:56:43 +01:00
|
|
|
|
2003-11-25 16:59:07 +00:00
|
|
|
src = fetchurl {
|
2015-08-27 15:56:43 +01:00
|
|
|
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
|
2013-10-12 17:50:51 +01:00
|
|
|
sha256 = "0rxl013ncmz1n6ymk2idvx3hix9pdabk8xn01cpcv32wmfb753y9";
|
2003-11-25 16:59:07 +00:00
|
|
|
};
|
2015-08-27 15:56:43 +01:00
|
|
|
|
|
|
|
buildPhase = "true";
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
dst=$out/share/xml/docbook-xsl
|
|
|
|
mkdir -p $dst
|
|
|
|
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh svn* tools log Makefile tests extensions webhelp
|
|
|
|
mv * $dst/
|
|
|
|
|
|
|
|
# Backwards compatibility. Will remove eventually.
|
|
|
|
mkdir -p $out/xml/xsl
|
|
|
|
ln -s $dst $out/xml/xsl/docbook
|
|
|
|
'';
|
2003-11-25 16:59:07 +00:00
|
|
|
}
|