nixpkgs/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl-ns/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

25 lines
574 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "docbook-xsl-ns-1.75.2";
src = fetchurl {
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
sha256 = "1pr7m0hmqilk25hjx33kq2vqn2xf6cx6zhxqm35fdvnjccazlxg2";
};
buildPhase = "true";
installPhase =
''
mkdir -p $out/xml/xsl
cd ..
mv docbook-xsl-ns-* $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";
};
}