Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 79e492e7fdb6
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc67de1802f5
Choose a head ref

Commits on Dec 10, 2018

  1. glu: don't use valgrind on darwin

    (cherry picked from commit e32d1eaef16020ec22e3b0cd3be9261d5cf8bc89)
    LnL7 authored and matthewbauer committed Dec 10, 2018
    Copy the full SHA
    891e4ff View commit details
  2. simavr: work on macOS

    matthewbauer committed Dec 10, 2018
    Copy the full SHA
    22fe087 View commit details

Commits on Apr 22, 2019

  1. gnutls: remove 3.5.10

    Nix packages are expected to honor NIX_SSL_CERT_FILE and this removes the
    dependency on the framework while bootstrapping the stdenv.
    (+ nitpick changes from vcunat)
    
    The patch is based on https://gitlab.com/gnutls/gnutls/commit/c0eb46d3463cd21b3f822ac377ff37f067f66b8d
    LnL7 committed Apr 22, 2019
    Copy the full SHA
    33e7d72 View commit details
  2. gnutls: respect NIX_SSL_CERT_FILE, same as our openssl

    The patch should work fine, regardless of the Darwin patch being applied.
    vcunat authored and LnL7 committed Apr 22, 2019
    Copy the full SHA
    39c2b64 View commit details

Commits on Apr 29, 2019

  1. ruby: use stdenv derivation for patching RubyGems

    Rather than rolling our own. This means that we can use all of the
    extra functionality stdenv gives us, like being able to provide a list
    of patches rather than just one.
    alyssais committed Apr 29, 2019
    Copy the full SHA
    bb4fef1 View commit details
  2. ruby: rubygems 2.7.7 -> 3.0.3

    I think it makes more sense to keep the patches in-tree than on
    zimbatm's RubyGems fork.
    alyssais committed Apr 29, 2019
    Copy the full SHA
    0ffedef View commit details

Commits on Apr 30, 2019

  1. docbook-xsl-nons: 1.79.1 → 1.79.2

    Nothing much changed other than adding the suffix -nons to Docbook 4 styles,
    making the Docbook 5 the variant without suffix:
    
    https://github.com/docbook/xslt10-stylesheets/releases/tag/release%2F1.79.2
    
    I have decided to make docbook_xsl an alias of docbook-xsl-nons for now,
    to avoid confusion.
    
    I also updated patch link that was broken to a newer version of the patch
    and started sharing it between the two packages.
    jtojnar committed Apr 30, 2019
    Copy the full SHA
    013ddbe View commit details
  2. docbook-xsl: 1.79.1 → 1.79.2 (#60270)

    docbook-xsl: 1.79.1 → 1.79.2
    jtojnar authored Apr 30, 2019
    Copy the full SHA
    a5c04ea View commit details
  3. shadow: rely on propagated findXMLCatalogs hook

    shadow uses a copy of m4 from gtk-doc so we need to apply the same
    fix as in 407db7b.
    
    Also patch it to use the correct DocBook version.
    jtojnar committed Apr 30, 2019
    Copy the full SHA
    e2e3f6b View commit details
  4. Copy the full SHA
    86c0ca9 View commit details
  5. Copy the full SHA
    40dd4f5 View commit details
  6. Merge pull request #60541 from jtojnar/shadow-xmlcatalog

    shadow: rely on propagated findXMLCatalogs hook
    jtojnar authored Apr 30, 2019
    Copy the full SHA
    2797e33 View commit details

Commits on May 1, 2019

  1. help2man: 1.47.9 -> 1.47.10

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/help2man/versions
    r-ryantm committed May 1, 2019
    Copy the full SHA
    aaae863 View commit details
  2. Copy the full SHA
    fc508b7 View commit details
  3. Copy the full SHA
    d7e35ec View commit details
  4. vala: no vertical align

    worldofpeace committed May 1, 2019
    Copy the full SHA
    2148e70 View commit details
  5. vala: Prepare for updateScript

    It doesn't have to be that complicated with the major and minor versions
    being split. We have library functions that handle it fine.
    
    passthru.upateScript can be enabled once #59372 is merged
    JohnAZoidberg authored and worldofpeace committed May 1, 2019
    Copy the full SHA
    cbb8034 View commit details
  6. Copy the full SHA
    018e5ff View commit details
  7. binutils: add gettext dependency

    Needed on libc without gettext bundled.
    
    Fixes #11420
    matthewbauer committed May 1, 2019
    Copy the full SHA
    02e9697 View commit details
  8. Copy the full SHA
    24465d7 View commit details
  9. libqmi: 1.22.2 -> 1.22.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libqmi/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    acc954f View commit details
  10. libdrm: 2.4.97 -> 2.4.98

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libdrm/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    6edac7f View commit details
  11. Merge pull request #60564 from r-ryantm/auto-update/help2man

    help2man: 1.47.9 -> 1.47.10
    pSub authored May 1, 2019
    Copy the full SHA
    e788830 View commit details
  12. c-blosc: 1.16.2 -> 1.16.3

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/c-blosc/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    ca31654 View commit details
  13. at-spi2-core: 2.32.0 -> 2.32.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/at-spi2-core/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    458d4c5 View commit details
  14. fluidsynth: 2.0.4 -> 2.0.5

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/fluidsynth/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    d5b3b35 View commit details
  15. Copy the full SHA
    bd9e44f View commit details
  16. libmbim: 1.18.0 -> 1.18.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libmbim/versions
    r-ryantm authored and FRidh committed May 1, 2019
    Copy the full SHA
    e1b3aac View commit details
  17. Merge #58611: gnutls: respect NIX_SSL_CERT_FILE

    ... and remove 3.5.10 on darwin (into staging branch)
    vcunat committed May 1, 2019
    Copy the full SHA
    211e0b5 View commit details
  18. Copy the full SHA
    9dfd52c View commit details
  19. Merge pull request #60394 from alyssais/rubygems

    ruby: rubygems 2.7.7 -> 3.0.3
    alyssais authored May 1, 2019
    Copy the full SHA
    3567b13 View commit details

Commits on May 2, 2019

  1. linux: set CONFIG_DRM_VMWGFX_FBCON y

    Fixes NixOS/nixpkgs#58070, and brings NixOS
    into line with Ubuntu/Fedora/Arch/etc.
    
    Tested that all kernels in Nixpkgs that build before this change build
    after it.
    alyssais committed May 2, 2019
    Copy the full SHA
    58d0134 View commit details

Commits on May 3, 2019

  1. python.pkgs.python-slugify: 2.0.1 -> 3.0.2

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    68113d7 View commit details
  2. transifex-client: fix build

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    cf65abe View commit details
  3. python.pkgs.pytz: 2018.9 -> 2019.1

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    d050b87 View commit details
  4. python.pkgs.pytzdata: 2018.9 -> 2019.1

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    342877b View commit details
  5. python3.pkgs.PyChromecast: 3.2.0 -> 3.2.1

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    ef556c7 View commit details
  6. home-assistant: make parse-requirements.py use manifest.json

    The way dependencies and requirements are specified was changed upstream
    in home-assistant/core#22699.
    Robert Schütz committed May 3, 2019
    Copy the full SHA
    3c4ec19 View commit details
  7. Merge branch 'master' into staging

    Robert Schütz committed May 3, 2019
    Copy the full SHA
    56b5609 View commit details
  8. Copy the full SHA
    3b481df View commit details

Commits on May 4, 2019

  1. networkmanager: Stop using libredirect for building docs

    Our gobject-introspection patches make the shared library paths absolute
    in the GIR files. When building docs, the library is not yet installed,
    though, so we need to replace the absolute path with a local one during build.
    
    Previously we used LD_PRELOAD to load libredirect and rewrite the installed paths
    to ones in the build directory. That was unnecessary complicated and many people
    spent whole night trying to figure out why it breaks some programs.
    
    Using a symlink from the installed location to the build directory fixes
    the issue as well, while having much less moving parts, thus being easier to grasp.
    The symlink will be overridden during installation.
    jtojnar committed May 4, 2019
    Copy the full SHA
    6f7e06b View commit details
  2. libredirect: remove dlopen support

    While it might be useful in some cases, there are too many caveats to be worth it.
    When libredirect intercepts dlopen call and calls the original function, the dynamic
    loader will use libredirect.so's DT_RUNPATH entry instead of the one from the ELF file
    the dlopen call originated from. That means that when program tries to dlopen a library
    that it expects to find on its RPATH, the call will fail.
    This broke Sublime Text for just that reason.
    jtojnar committed May 4, 2019
    Copy the full SHA
    a0c6efb View commit details
  3. Copy the full SHA
    4d607a5 View commit details
  4. nixos/home-assistant: account for introduction of manifest.json

    The `availableComponents` now only contain a single attribute for
    every integration.
    Robert Schütz committed May 4, 2019
    Copy the full SHA
    d280603 View commit details
  5. appdaemon: 3.0.4 -> 3.0.5

    Robert Schütz committed May 4, 2019
    Copy the full SHA
    7e09b53 View commit details
  6. Merge pull request #60743 from alyssais/vmsvga

    linux: set CONFIG_DRM_VMWGFX_FBCON y
    alyssais authored May 4, 2019
    Copy the full SHA
    8bd018b View commit details
  7. Copy the full SHA
    1b0cd28 View commit details
  8. Copy the full SHA
    b7b3b3f View commit details
  9. Copy the full SHA
    e25f5c1 View commit details
  10. pcre2: 10.32 -> 10.33

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pcre2/versions
    r-ryantm authored and FRidh committed May 4, 2019
    Copy the full SHA
    dafc458 View commit details
Showing with 775 additions and 1,862 deletions.
  1. +13 −22 nixos/modules/services/misc/home-assistant.nix
  2. +2 −2 pkgs/applications/audio/fluidsynth/default.nix
  3. +13 −13 pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix
  4. +0 −7 pkgs/build-support/libredirect/libredirect.c
  5. +2 −2 pkgs/data/misc/iana-etc/default.nix
  6. +10 −0 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/catalog-legacy-uris.patch
  7. +63 −52 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
  8. +0 −30 pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/docbook-xsl-ns-infinite.patch
  9. +27 −26 pkgs/development/compilers/vala/default.nix
  10. +28 −28 pkgs/development/compilers/vala/{disable-graphviz-0.44.1.patch → disable-graphviz-0.44.3.patch}
  11. +7 −24 pkgs/development/interpreters/ruby/default.nix
  12. +0 −8 pkgs/development/interpreters/ruby/rubygems-src.nix
  13. +34 −0 pkgs/development/interpreters/ruby/rubygems/0001-add-post-extract-hook.patch
  14. +28 −0 pkgs/development/interpreters/ruby/rubygems/0002-binaries-with-env-shebang.patch
  15. +26 −0 pkgs/development/interpreters/ruby/rubygems/0003-gem-install-default-to-user.patch
  16. +30 −0 pkgs/development/interpreters/ruby/rubygems/default.nix
  17. +2 −2 pkgs/development/libraries/at-spi2-core/default.nix
  18. +2 −2 pkgs/development/libraries/c-blosc/default.nix
  19. +0 −10 pkgs/development/libraries/gnutls/3.5.10.nix
  20. +0 −22 pkgs/development/libraries/gnutls/3.6.nix
  21. +36 −16 pkgs/development/libraries/gnutls/{generic.nix → default.nix}
  22. +19 −0 pkgs/development/libraries/gnutls/nix-ssl-cert-file.patch
  23. +126 −0 pkgs/development/libraries/gnutls/no-security-framework.patch
  24. +2 −2 pkgs/development/libraries/libcdio/default.nix
  25. +2 −2 pkgs/development/libraries/libdrm/default.nix
  26. +2 −2 pkgs/development/libraries/libdvdread/default.nix
  27. +2 −2 pkgs/development/libraries/libmbim/default.nix
  28. +2 −2 pkgs/development/libraries/libqmi/default.nix
  29. +2 −2 pkgs/development/libraries/libshout/default.nix
  30. +2 −0 pkgs/development/libraries/libuv/default.nix
  31. +2 −2 pkgs/development/libraries/pcre2/default.nix
  32. +2 −2 pkgs/development/libraries/pixman/default.nix
  33. +2 −2 pkgs/development/python-modules/pychromecast/default.nix
  34. +8 −6 pkgs/development/python-modules/python-slugify/default.nix
  35. +2 −2 pkgs/development/python-modules/pytz/default.nix
  36. +2 −2 pkgs/development/python-modules/pytzdata/default.nix
  37. +2 −2 pkgs/development/tools/misc/binutils/default.nix
  38. +2 −2 pkgs/development/tools/misc/help2man/default.nix
  39. +1 −0 pkgs/os-specific/linux/kernel/common-config.nix
  40. +4 −0 pkgs/os-specific/linux/kernel/manual-config.nix
  41. +11 −7 pkgs/os-specific/linux/shadow/default.nix
  42. +30 −0 pkgs/os-specific/linux/shadow/respect-xml-catalog-files-var.patch
  43. +9 −7 pkgs/os-specific/linux/util-linux/default.nix
  44. +4 −4 pkgs/servers/home-assistant/appdaemon.nix
  45. +124 −1,442 pkgs/servers/home-assistant/component-packages.nix
  46. +18 −26 pkgs/servers/home-assistant/default.nix
  47. +2 −2 pkgs/servers/home-assistant/frontend.nix
  48. +26 −29 pkgs/servers/home-assistant/parse-requirements.py
  49. +12 −4 pkgs/tools/compression/lz4/default.nix
  50. +0 −4 pkgs/tools/misc/getopt/builder.sh
  51. +12 −8 pkgs/tools/misc/getopt/default.nix
  52. +8 −10 pkgs/tools/networking/network-manager/default.nix
  53. +0 −11 pkgs/tools/networking/network-manager/fix-docs-build.patch
  54. +1 −1 pkgs/tools/text/transifex-client/default.nix
  55. +9 −9 pkgs/top-level/all-packages.nix
35 changes: 13 additions & 22 deletions nixos/modules/services/misc/home-assistant.nix
Original file line number Diff line number Diff line change
@@ -21,32 +21,23 @@ let

availableComponents = cfg.package.availableComponents;

# Given component "parentConfig.platform", returns whether config.parentConfig
# is a list containing a set with set.platform == "platform".
usedPlatforms = config:
if isAttrs config then
optional (config ? platform) config.platform
++ concatMap usedPlatforms (attrValues config)
else if isList config then
concatMap usedPlatforms config
else [ ];

# Given a component "platform", looks up whether it is used in the config
# as `platform = "platform";`.
#
# For example, the component sensor.luftdaten is used as follows:
# For example, the component mqtt.sensor is used as follows:
# config.sensor = [ {
# platform = "luftdaten";
# platform = "mqtt";
# ...
# } ];
#
# Beginning with 0.87 Home Assistant is migrating their components to the
# scheme "platform.subComponent", e.g. "hue.light" instead of "light.hue".
# See https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html.
# Hence, we also check whether we find an entry in the config when interpreting
# the first part of the path as the component.
useComponentPlatform = component:
let
path = splitString "." component;
# old: platform is the last part of path
parentConfig = attrByPath (init path) null cfg.config;
platform = last path;
# new: platform is the first part of the path
parentConfig' = attrByPath (tail path) null cfg.config;
platform' = head path;
in
(isList parentConfig && any (item: item.platform or null == platform) parentConfig)
|| (isList parentConfig' && any (item: item.platform or null == platform') parentConfig');
useComponentPlatform = component: elem component (usedPlatforms cfg.config);

# Returns whether component is used in config
useComponent = component:
4 changes: 2 additions & 2 deletions pkgs/applications/audio/fluidsynth/default.nix
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ let
sha256 = "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh";
};
"2" = {
fluidsynthVersion = "2.0.4";
sha256 = "1v2vji02fbrjgypwb4fw2r90hnfwfbfh3d24j8vjwlbqxhxp16s0";
fluidsynthVersion = "2.0.5";
sha256 = "0rv0apxbj0cgm8f8sqf5xr6kdi4q58ph92ip6cg716ha0ca5lr8y";
};
};
in
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{ stdenv, fetchurl, pidgin, intltool, libxml2, nss, nspr }:
{ stdenv, fetchurl, pidgin, intltool, libxml2, gmime, nss }:

let version = "1.23.3"; in

stdenv.mkDerivation {
name = "pidgin-sipe-${version}";
stdenv.mkDerivation rec {
pname = "pidgin-sipe";
version = "1.24.0";

src = fetchurl {
url = "mirror://sourceforge/sipe/pidgin-sipe-${version}.tar.gz";
sha256 = "0aaiblnagncb0lhdwb8qbps6hxxmyfjg7sdi15lrkl98i3fahg4n";
url = "mirror://sourceforge/sipe/${pname}-${version}.tar.gz";
sha256 = "04cxprz6dbcsc4n2jg72mr1r9630nhrywn0zim9kwvbgps3wdd9c";
};

nativeBuildInputs = [ intltool ];
buildInputs = [ pidgin gmime libxml2 nss ];
enableParallelBuilding = true;

postInstall = "find $out -ls; ln -s \$out/lib/purple-2 \$out/share/pidgin-sipe";

meta = with stdenv.lib; {
description = "SIPE plugin for Pidgin IM";
homepage = http://sipe.sourceforge.net/;
homepage = "http://sipe.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
};

postInstall = "find $out -ls; ln -s \$out/lib/purple-2 \$out/share/pidgin-sipe";

buildInputs = [ pidgin intltool libxml2 nss nspr ];

}
7 changes: 0 additions & 7 deletions pkgs/build-support/libredirect/libredirect.c
Original file line number Diff line number Diff line change
@@ -166,10 +166,3 @@ int execv(const char *path, char *const argv[])
char buf[PATH_MAX];
return execv_real(rewrite(path, buf), argv);
}

void *dlopen(const char *filename, int flag)
{
void * (*__dlopen_real) (const char *, int) = dlsym(RTLD_NEXT, "dlopen");
char buf[PATH_MAX];
return __dlopen_real(rewrite(filename, buf), flag);
}
4 changes: 2 additions & 2 deletions pkgs/data/misc/iana-etc/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchzip }:

let
version = "20181219";
version = "20190504";
in fetchzip {
name = "iana-etc-${version}";
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
sha256 = "0i3f7shvf1g6dp984w8xfix6id3q5c10b292wz2qw3v5n7h6wkm3";
sha256 = "1h61qnb3ybyfivyq8qjnisj4arbnhn8hcwad1bp4iqidjk6rjfv3";

postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/catalog.xml
+++ b/catalog.xml
@@ -5,4 +5,7 @@
<rewriteSystem systemIdStartString="http://cdn.docbook.org/release/xsl@suffix@/current/" rewritePrefix="./"/>
<rewriteURI uriStartString="http://cdn.docbook.org/release/xsl@suffix@/@version@/" rewritePrefix="./"/>
<rewriteSystem systemIdStartString="http://cdn.docbook.org/release/xsl@suffix@/@version@/" rewritePrefix="./"/>
+ <!-- legacy URIs -->
+ <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl@legacySuffix@/current/" rewritePrefix="./"/>
+ <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl@legacySuffix@/current/" rewritePrefix="./"/>
</catalog>
115 changes: 63 additions & 52 deletions pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
Original file line number Diff line number Diff line change
@@ -1,66 +1,77 @@
{ lib, stdenv, fetchurl, fetchpatch, findXMLCatalogs, writeScriptBin, ruby, bash }:
{ lib, stdenv, substituteAll, fetchurl, fetchpatch, findXMLCatalogs, writeScriptBin, ruby, bash }:

let

common = { pname, sha256, patches ? [] }: let self = stdenv.mkDerivation rec {
name = "${pname}-1.79.1";

src = fetchurl {
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
inherit sha256;
};

inherit patches;

propagatedBuildInputs = [ findXMLCatalogs ];

dontBuild = true;

installPhase = ''
dst=$out/share/xml/${pname}
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
'';

passthru.dbtoepub = writeScriptBin "dbtoepub"
''
#!${bash}/bin/bash
exec -a dbtoepub ${ruby}/bin/ruby ${self}/share/xml/${pname}/epub/bin/dbtoepub "$@"
common = { pname, sha256, suffix ? "" }: let
legacySuffix = if suffix == "-nons" then "" else "-ns";
self = stdenv.mkDerivation rec {
inherit pname;
version = "1.79.2";

src = fetchurl {
url = "https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${version}/docbook-xsl${suffix}-${version}.tar.bz2";
inherit sha256;
};

patches = [
# Prevent a potential stack overflow
# https://github.com/docbook/xslt10-stylesheets/pull/37
(fetchpatch {
url = https://src.fedoraproject.org/rpms/docbook-style-xsl/raw/e3ae7a97ed1d185594dd35954e1a02196afb205a/f/docbook-style-xsl-non-recursive-string-subst.patch;
sha256 = "0lrjjg5kpwwmbhkxzz6i5zmimb6lsvrrdhzc2qgjmb3r6jnsmii3";
stripLen = "1";
})

# Add legacy sourceforge.net URIs to the catalog
(substituteAll {
src = ./catalog-legacy-uris.patch;
inherit legacySuffix suffix version;
})
];

propagatedBuildInputs = [ findXMLCatalogs ];

dontBuild = true;

installPhase = ''
dst=$out/share/xml/${pname}
mkdir -p $dst
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh tools Makefile tests extensions webhelp
mv * $dst/
# Backwards compatibility. Will remove eventually.
mkdir -p $out/xml/xsl
ln -s $dst $out/xml/xsl/docbook
# More backwards compatibility
ln -s $dst $out/share/xml/docbook-xsl${legacySuffix}
'';

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;
passthru.dbtoepub = writeScriptBin "dbtoepub"
''
#!${bash}/bin/bash
exec -a dbtoepub ${ruby}/bin/ruby ${self}/share/xml/${pname}/epub/bin/dbtoepub "$@"
'';

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;
};
};
}; in self;
in self;

in {

docbook_xsl = common {
pname = "docbook-xsl";
sha256 = "0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj";

patches = [(fetchpatch {
name = "potential-infinite-template-recursion.patch";
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
stripLen = "1";
})];

docbook-xsl-nons = common {
pname = "docbook-xsl-nons";
suffix = "-nons";
sha256 = "00i1hdyxim8jymv2dz68ix3wbs5w6isxm8ijb03qk3vs1g59x2zf";
};

docbook_xsl_ns = common {
docbook-xsl-ns = common {
pname = "docbook-xsl-ns";
sha256 = "170ggf5dgjar65kkn5n33kvjr3pdinpj66nnxfx8b2avw0k91jin";

patches = [ ./docbook-xsl-ns-infinite.patch ];
sha256 = "0wd33z41kdsybyx3ay21w6bdlmgpd9kyn3mr5y520lsf8km28r9i";
};
}

This file was deleted.

Loading