summary refs log tree commit diff
path: root/pkgs/data/sgml+xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-14 15:02:56 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-14 15:02:56 +0000
commitbefe45a1d39fb0f970eaa17f0c53d0670d7218a9 (patch)
treec42df893c55b12940bae8aa9abaea65415fe6de1 /pkgs/data/sgml+xml
parent0bba7e6b84aca9d91472f9857504d9a8ccef2003 (diff)
* docbook-xsl / docbook-xsl-ns: match the upstream package name. Also
  updated docbook-xsl-ns.

svn path=/nixpkgs/trunk/; revision=16356
Diffstat (limited to 'pkgs/data/sgml+xml')
-rw-r--r--pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl-ns/default.nix24
-rw-r--r--pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/builder.sh (renamed from pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh)0
-rw-r--r--pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix (renamed from pkgs/data/sgml+xml/stylesheets/xslt/docbook/default.nix)0
-rw-r--r--pkgs/data/sgml+xml/stylesheets/xslt/docbook5/builder.sh12
-rw-r--r--pkgs/data/sgml+xml/stylesheets/xslt/docbook5/default.nix10
5 files changed, 24 insertions, 22 deletions
diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl-ns/default.nix b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl-ns/default.nix
new file mode 100644
index 0000000000000..c64bf74becdc6
--- /dev/null
+++ b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl-ns/default.nix
@@ -0,0 +1,24 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation rec {
+  name = "docbook-xsl-ns-1.75.1";
+  
+  src = fetchurl {
+    url = "mirror://sourceforge/docbook/${name}.tar.bz2";
+    sha256 = "1ph9ck4w38ycg22m9cws14mx55d04lfgw5fcjn3r8lsdgbm7glrh";
+  };
+
+  buildPhase = "true";
+
+  installPhase =
+    ''
+      ensureDir $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";
+  };
+}
diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/builder.sh
index 1534806895cd6..1534806895cd6 100644
--- a/pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh
+++ b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/builder.sh
diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook/default.nix b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
index c54d8f304b628..c54d8f304b628 100644
--- a/pkgs/data/sgml+xml/stylesheets/xslt/docbook/default.nix
+++ b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/builder.sh b/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/builder.sh
deleted file mode 100644
index 889886b3cb242..0000000000000
--- a/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/builder.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-source $stdenv/setup
-
-buildPhase=true
-
-installPhase=myInstallPhase
-myInstallPhase() {
-    ensureDir $out/xml/xsl
-    cd ..
-    mv docbook-xsl-ns-* $out/xml/xsl/docbook
-}
-
-genericBuild
diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/default.nix b/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/default.nix
deleted file mode 100644
index d3440735801f2..0000000000000
--- a/pkgs/data/sgml+xml/stylesheets/xslt/docbook5/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{stdenv, fetchurl}:
-
-stdenv.mkDerivation {
-  name = "docbook5-xsl-1.74.0";
-  builder = ./builder.sh;
-  src = fetchurl {
-    url = mirror://sourceforge/docbook/docbook-xsl-ns-1.74.0.tar.bz2;
-    sha256 = "0253ymp0k9wb3zsxazz8p9q9fy83rkmp8c67vlk84x7f2i7vf3x9";
-  };
-}