File tree 1 file changed +11
-8
lines changed
pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
let
4
4
5
- common = { pname , sha256 } : let self = stdenv . mkDerivation rec {
5
+ common = { pname , sha256 , patches ? [ ] } : let self = stdenv . mkDerivation rec {
6
6
name = "${ pname } -1.79.1" ;
7
7
8
8
src = fetchurl {
9
9
url = "mirror://sourceforge/docbook/${ name } .tar.bz2" ;
10
10
inherit sha256 ;
11
11
} ;
12
12
13
- patches = [ ( fetchpatch {
14
- name = "potential-infinite-template-recursion.patch" ;
15
- url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
16
- + "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd" ;
17
- sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h" ;
18
- stripLen = "1" ;
19
- } ) ] ;
13
+ inherit patches ;
20
14
21
15
propagatedBuildInputs = [ findXMLCatalogs ] ;
22
16
52
46
docbook_xsl = common {
53
47
pname = "docbook-xsl" ;
54
48
sha256 = "0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj" ;
49
+
50
+ patches = [ ( fetchpatch {
51
+ name = "potential-infinite-template-recursion.patch" ;
52
+ url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
53
+ + "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd" ;
54
+ sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h" ;
55
+ stripLen = "1" ;
56
+ } ) ] ;
57
+
55
58
} ;
56
59
57
60
docbook_xsl_ns = common {
You can’t perform that action at this time.
0 commit comments