summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2022-06-03 12:27:46 +0200
committerKlemens Nanni <klemens@posteo.de>2022-06-03 12:29:19 +0200
commitc302723969ab4509b3600024b326c9895be9fdaa (patch)
tree02cf03938f498231c3b6a9c79bd1ffa2558adc27
parente6776218b674f80e05bec30d4f7667ed5b77cf7f (diff)
downloadnixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar.gz
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar.bz2
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar.lz
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar.xz
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.tar.zst
nixpkgs-c302723969ab4509b3600024b326c9895be9fdaa.zip
libdigidoc: remove
Last upstream commit is from 11. Oct 2019, nothing uses it anymore.
-rw-r--r--pkgs/development/libraries/libdigidoc/default.nix28
-rw-r--r--pkgs/top-level/aliases.nix1
-rw-r--r--pkgs/top-level/all-packages.nix4
3 files changed, 1 insertions, 32 deletions
diff --git a/pkgs/development/libraries/libdigidoc/default.nix b/pkgs/development/libraries/libdigidoc/default.nix
deleted file mode 100644
index a639b4b3294..00000000000
--- a/pkgs/development/libraries/libdigidoc/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ lib, stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2, Security }:
-
-stdenv.mkDerivation rec {
-
-  version = "3.10.5";
-  pname = "libdigidoc";
-
-  src = fetchurl {
-    url = "https://github.com/open-eid/libdigidoc/releases/download/v${version}/libdigidoc-${version}.tar.gz";
-    sha256 = "0nw36a4i6rcq7z6jqz5h2ln9hmmsfhw65jga3rymlswk2k7bndgn";
-  };
-
-  nativeBuildInputs = [ cmake ];
-
-  buildInputs = [ openssl pcsclite opensc libxml2 ]
-    ++ lib.optionals stdenv.isDarwin [ Security ];
-
-  cmakeFlags = lib.optionals stdenv.isDarwin [ "-DFRAMEWORK=OFF" ];
-
-  meta = with lib; {
-    description = "Library for creating DigiDoc signature files";
-    homepage = "https://github.com/open-eid/libdigidoc";
-    license = licenses.lgpl2;
-    maintainers = [ maintainers.jagajaga ];
-    mainProgram = "cdigidoc";
-    platforms = platforms.unix;
-  };
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 7bfc9bfdc64..3daa67b1e17 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -681,6 +681,7 @@ mapAliases ({
   libcroco = throw "libcroco has been removed as it's no longer used in any derivations"; # Added 2020-03-04
   libdbusmenu-glib = throw "'libdbusmenu-glib' has been renamed to/replaced by 'libdbusmenu'"; # Converted to throw 2022-02-22
   libdbusmenu_qt5 = throw "'libdbusmenu_qt5' has been renamed to/replaced by 'libsForQt5.libdbusmenu'"; # Converted to throw 2022-02-22
+  libdigidoc = throw "'libdigidoc' is unused in nixpkgs, deprecated and archived by upstream, use 'libdigidocpp' instead"; # Added 2022-06-03
   liberation_ttf_v1_from_source = throw "'liberation_ttf_v1_from_source' has been renamed to/replaced by 'liberation_ttf_v1'"; # Converted to throw 2022-02-22
   liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22
   liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 24744e9eefd..eee198c0aee 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -18396,10 +18396,6 @@ with pkgs;
 
   libdecor = callPackage ../development/libraries/libdecor { };
 
-  libdigidoc = callPackage ../development/libraries/libdigidoc {
-    inherit (darwin.apple_sdk.frameworks) Security;
-  };
-
   libdigidocpp = callPackage ../development/libraries/libdigidocpp { };
 
   libdiscid = callPackage ../development/libraries/libdiscid { };