https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
10 lines
292 B
Nix
10 lines
292 B
Nix
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
|
|
|
import ./generic.nix {
|
|
inherit lib stdenv unzip findXMLCatalogs;
|
|
version = "4.5";
|
|
src = fetchurl {
|
|
url = "https://docbook.org/xml/4.5/docbook-xml-4.5.zip";
|
|
sha256 = "1d671lcjckjri28xfbf6dq7y3xnkppa910w1jin8rjc35dx06kjf";
|
|
};
|
|
}
|