mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
32 lines
887 B
Nix
32 lines
887 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "docbook-xsl-ns-1.78.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
|
|
sha256 = "1x3sc0axk9z3i6n0jhlsmzlmb723a4sjgslm9g12by6phirdx3ng";
|
|
};
|
|
|
|
buildPhase = "true";
|
|
|
|
installPhase =
|
|
''
|
|
dst=$out/share/xml/docbook-xsl-ns
|
|
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
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://wiki.docbook.org/topic/DocBookXslStylesheets;
|
|
description = "XSL stylesheets for transforming DocBook documents into HTML and various other formats";
|
|
maintainers = [ lib.maintainers.eelco ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|