mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* DocBook DTD / XSLT stylesheets.
svn path=/nixpkgs/trunk/; revision=543
This commit is contained in:
commit
f16b58e236
7
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/builder.sh
Executable file
7
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/builder.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
mkdir -p $out/xml/dtd/docbook || exit 1
|
||||
cd $out/xml/dtd/docbook || exit 1
|
||||
$unzip/bin/unzip $src || exit 1
|
15
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/default.nix
Normal file
15
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
assert !isNull unzip;
|
||||
|
||||
derivation {
|
||||
name = "docbook-xml-4.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
|
||||
md5 = "73fe50dfe74ca631c1602f558ed8961f";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
unzip = unzip;
|
||||
}
|
10
pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh
Executable file
10
pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
mkdir $out || exit 1
|
||||
cd $out || exit 1
|
||||
tar xvfz $src || exit 1
|
||||
mkdir xml || exit 1
|
||||
mkdir xml/xsl || exit 1
|
||||
mv docbook-xsl-* xml/xsl/docbook || exit 1
|
12
pkgs/data/sgml+xml/stylesheets/xslt/docbook/default.nix
Normal file
12
pkgs/data/sgml+xml/stylesheets/xslt/docbook/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
derivation {
|
||||
name = "docbook-xsl-1.62.4";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://belnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.62.4.tar.gz;
|
||||
md5 = "4f33db39db7fa95b50143ad609d734a0";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
Loading…
Reference in New Issue
Block a user