Unverified Commit 6e99e350 authored by Arnout Engelen's avatar Arnout Engelen Committed by GitHub
Browse files

Merge pull request #333249 from raboof/xml-security-c-retired-from-apache

xml-security-c: retired from Apache
parents 0d251dcb abb863c3
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchgit,
  autoreconfHook,
  pkg-config,
  xalanc,
  xercesc,
@@ -16,9 +17,10 @@ stdenv.mkDerivation (finalAttrs: {
  pname = "xml-security-c";
  version = "2.0.4";

  src = fetchurl {
    url = "mirror://apache/santuario/c-library/xml-security-c-${finalAttrs.version}.tar.gz";
    hash = "sha256-p42mcg9sK6FBANJCYTHg0z6sWi26XMEb3QSXS364kAM=";
  src = fetchgit {
    url = "https://git.shibboleth.net/git/cpp-xml-security";
    rev = finalAttrs.version;
    hash = "sha256-60A6LqUUGmoZMmIvhuZWjrZl6utp7WLhPe738oNd/AA=";
  };

  configureFlags = [
@@ -27,7 +29,10 @@ stdenv.mkDerivation (finalAttrs: {
    "--with-xalan"
  ];

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs =
    [
@@ -42,9 +47,9 @@ stdenv.mkDerivation (finalAttrs: {
    ];

  meta = {
    homepage = "https://santuario.apache.org/";
    homepage = "https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario";
    description = "C++ Implementation of W3C security standards for XML";
    license = lib.licenses.gpl2;
    license = lib.licenses.asl20;
    platforms = lib.platforms.unix;
    maintainers = [ lib.maintainers.jagajaga ];
  };