libdigidocpp: drop xercesc and xsd, drop xsd entirely (#395543)

authored by Florian Klink and committed by GitHub da5faea5 ee1fcc01

+1 -179
-4
pkgs/by-name/li/libdigidocpp/package.nix
··· 9 9 pcsclite, 10 10 opensc, 11 11 openssl, 12 - xercesc, 13 12 pkg-config, 14 - xsd, 15 13 zlib, 16 14 xmlsec, 17 15 xxd, ··· 38 36 pcsclite 39 37 opensc 40 38 openssl 41 - xercesc 42 - xsd 43 39 zlib 44 40 xmlsec 45 41 ];
-45
pkgs/development/libraries/xsd/default.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchurl, 5 - xercesc, 6 - }: 7 - 8 - let 9 - in 10 - stdenv.mkDerivation rec { 11 - pname = "xsd"; 12 - version = "4.0.0"; 13 - 14 - src = fetchurl { 15 - url = "https://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2"; 16 - sha256 = "05wqhmd5cd4pdky8i8qysnh96d2h16ly8r73whmbxkajiyf2m9gc"; 17 - }; 18 - 19 - patches = [ ./xsdcxx.patch ]; 20 - 21 - postPatch = '' 22 - patchShebangs . 23 - ''; 24 - 25 - enableParallelBuilding = true; 26 - 27 - buildFlags = [ 28 - "LDFLAGS=-L${xercesc}/lib" 29 - "CPPFLAGS=-I${xercesc}/include" 30 - ]; 31 - installFlags = buildFlags ++ [ 32 - "install_prefix=${placeholder "out"}" 33 - ]; 34 - 35 - buildInputs = [ xercesc ]; 36 - 37 - meta = { 38 - homepage = "http://www.codesynthesis.com/products/xsd"; 39 - description = "Open-source, cross-platform W3C XML Schema to C++ data binding compiler"; 40 - mainProgram = "xsd"; 41 - license = lib.licenses.gpl2; 42 - platforms = lib.platforms.linux; 43 - maintainers = [ lib.maintainers.jagajaga ]; 44 - }; 45 - }
-126
pkgs/development/libraries/xsd/xsdcxx.patch
··· 1 - --- xsd-4.0.0+dep/xsd/doc/xsd.1~ 2014-09-14 12:25:36.862267587 +0000 2 - +++ xsd-4.0.0+dep/xsd/doc/xsd.1 2014-09-14 12:28:25.728229892 +0000 3 - @@ -1,16 +1,16 @@ 4 - .\" Process this file with 5 - -.\" groff -man -Tascii xsd.1 6 - +.\" groff -man -Tascii xsdcxx.1 7 - .\" 8 - .TH XSD 1 "July 2014" "XSD 4.0.0" 9 - .SH NAME 10 - -xsd \- W3C XML Schema to C++ Compiler 11 - +xsdcxx \- W3C XML Schema to C++ Compiler 12 - .\" 13 - .\" 14 - .\" 15 - .\"-------------------------------------------------------------------- 16 - .SH SYNOPSIS 17 - .\"-------------------------------------------------------------------- 18 - -.B xsd 19 - +.B xsdcxx 20 - .I command 21 - .B [ 22 - .I options 23 - @@ -20,19 +20,19 @@ 24 - .I file 25 - .B ...] 26 - .in 27 - -.B xsd help 28 - +.B xsdcxx help 29 - .B [ 30 - .I command 31 - .B ] 32 - .in 33 - -.B xsd version 34 - +.B xsdcxx version 35 - .\" 36 - .\" 37 - .\" 38 - .\"-------------------------------------------------------------------- 39 - .SH DESCRIPTION 40 - .\"-------------------------------------------------------------------- 41 - -.B xsd 42 - +.B xsdcxx 43 - generates vocabulary-specific, statically-typed C++ mapping from W3C XML 44 - Schema definitions. Particular mapping to produce is selected by a 45 - .IR command . 46 - @@ -96,7 +96,7 @@ 47 - .PP 48 - .RS 49 - .RS 3 50 - -.B xsd help 51 - +.B xsdcxx help 52 - .I command 53 - .RE 54 - .PP 55 - @@ -206,7 +206,7 @@ 56 - \fIfilename\fP \fInamespace\fP 57 - 58 - For example, if you have file \fBhello\.xsd\fP with namespace 59 - -\fBhttp://example\.com/hello\fP and you run \fBxsd\fP on this file, then the 60 - +\fBhttp://example\.com/hello\fP and you run \fBxsdcxx\fP on this file, then the 61 - string in question will be: 62 - 63 - \fBhello\.xsd\. http://example\.com/hello\fP 64 - @@ -1632,7 +1632,7 @@ 65 - .\" 66 - .SH DIAGNOSTICS 67 - If the input file is not a valid W3C XML Schema definition, 68 - -.B xsd 69 - +.B xsdcxx 70 - will issue diagnostic messages to 71 - .B STDERR 72 - and exit with non-zero exit code. 73 - --- xsd-4.0.0+dep/xsd/doc/xsd.xhtml~ 2014-09-14 12:28:37.731513138 +0000 74 - +++ xsd-4.0.0+dep/xsd/doc/xsd.xhtml 2014-09-14 12:30:11.277789610 +0000 75 - @@ -50,19 +50,19 @@ 76 - 77 - <h1>NAME</h1> 78 - 79 - - <p>xsd - W3C XML Schema to C++ Compiler</p> 80 - + <p>xsdcxx - W3C XML Schema to C++ Compiler</p> 81 - 82 - <h1>SYNOPSIS</h1> 83 - 84 - <dl id="synopsis"> 85 - - <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt> 86 - - <dt><code><b>xsd help</b> [<i>command</i>]</code></dt> 87 - - <dt><code><b>xsd version</b></code></dt> 88 - + <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt> 89 - + <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt> 90 - + <dt><code><b>xsdcxx version</b></code></dt> 91 - </dl> 92 - 93 - <h1>DESCRIPTION</h1> 94 - 95 - - <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed 96 - + <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed 97 - C++ mapping from W3C XML Schema definitions. Particular mapping to 98 - produce is selected by a <code><i>command</i></code>. Each mapping has 99 - a number of mapping-specific <code><i>options</i></code> that should 100 - @@ -104,7 +104,7 @@ 101 - 102 - <dt><code><b>help</b></code></dt> 103 - <dd>Print usage information and exit. Use 104 - - <p><code><b>xsd help</b> <i>command</i></code></p> 105 - + <p><code><b>xsdcxx help</b> <i>command</i></code></p> 106 - for command-specific help. 107 - </dd> 108 - 109 - @@ -219,7 +219,7 @@ 110 - 111 - <p>For example, if you have file <code><b>hello.xsd</b></code> with 112 - namespace <code><b>http://example.com/hello</b></code> and you run 113 - - <code><b>xsd</b></code> on this file, then the string in question will 114 - + <code><b>xsdcxx</b></code> on this file, then the string in question will 115 - be:</p> 116 - 117 - <p><code><b>hello.xsd. http://example.com/hello</b></code></p> 118 - @@ -1530,7 +1530,7 @@ 119 - <h1>DIAGNOSTICS</h1> 120 - 121 - <p>If the input file is not a valid W3C XML Schema definition, 122 - - <code><b>xsd</b></code> will issue diagnostic messages to STDERR 123 - + <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR 124 - and exit with non-zero exit code.</p> 125 - 126 - <h1>BUGS</h1>
+1
pkgs/top-level/aliases.nix
··· 1859 1859 xonsh-unwrapped = python3Packages.xonsh; # Added 2024-06-18 1860 1860 xplayer = throw "xplayer has been removed as the upstream project was archived"; # Added 2024-12-27 1861 1861 xprite-editor = throw "'xprite-editor' has been removed due to lack of maintenance upstream. Consider using 'pablodraw' or 'aseprite' instead"; # Added 2024-09-14 1862 + xsd = throw "'xsd' has been removed."; # Added 2025-04-02 1862 1863 xsv = throw "'xsv' has been removed due to lack of upstream maintenance. Please see 'xan' for a maintained alternative"; 1863 1864 xtrlock-pam = throw "xtrlock-pam has been removed because it is unmaintained for 10 years and doesn't support Python 3.10 or newer"; # Added 2025-01-25 1864 1865 xulrunner = firefox-unwrapped; # Added 2023-11-03
-4
pkgs/top-level/all-packages.nix
··· 16940 16940 }; 16941 16941 libfakeXinerama = callPackage ../tools/X11/xpra/libfakeXinerama.nix { }; 16942 16942 16943 - xsd = callPackage ../development/libraries/xsd { 16944 - stdenv = gcc9Stdenv; 16945 - }; 16946 - 16947 16943 xmp = callPackage ../applications/audio/xmp { 16948 16944 inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio; 16949 16945 };