summary refs log tree commit diff
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2023-10-17 14:41:06 +0200
committerJanne Heß <janne@hess.ooo>2023-10-20 14:47:49 +0200
commit52574a4db602be666482bcf5f6827405f38df060 (patch)
tree1a3f8d68232046234ec0f974d9629469df0ef2a2
parent6ca70351595fb36820286ff15d1aca90feeb0d14 (diff)
downloadnixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar.gz
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar.bz2
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar.lz
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar.xz
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.tar.zst
nixpkgs-52574a4db602be666482bcf5f6827405f38df060.zip
libspf2: 2.2.12 -> 2.2.13 and make deps strict
-rw-r--r--pkgs/development/libraries/libspf2/default.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/pkgs/development/libraries/libspf2/default.nix b/pkgs/development/libraries/libspf2/default.nix
index b7bef297352..997e89b8239 100644
--- a/pkgs/development/libraries/libspf2/default.nix
+++ b/pkgs/development/libraries/libspf2/default.nix
@@ -1,23 +1,18 @@
-{ lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }:
+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
 
 stdenv.mkDerivation rec {
   pname = "libspf2";
-  version = "2.2.12";
+  version = "2.2.13";
 
   src = fetchFromGitHub {
     owner = "helsinki-systems";
     repo = "libspf2";
     rev = "v${version}";
-    sha256 = "03iiaafdcwh220pqignk407h6klrakwz0zkb8iwk6nkwipkwvhsx";
+    hash = "sha256-tkCHP3B1sBb0+scHBjX5lCvaeSrZryfaGKye02LFlYs=";
   };
 
-  patches = [
-    # glibc-2.34 compat
-    (fetchpatch {
-      url = "https://raw.githubusercontent.com/gentoo/gentoo/dbb8a5c9f749cc11e61cfe558f164b165cbc30cb/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch";
-      sha256 = "sha256-6JVVkVGCcFJsNeBdVTPcLhW4KoHLY4ai/KXDMliXgPA=";
-    })
-  ];
+  nativeBuildInputs = [ autoreconfHook ];
+  strictDeps = true;
 
   postPatch = ''
     # disable static bins compilation
@@ -28,9 +23,6 @@ stdenv.mkDerivation rec {
       -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am
   '';
 
-  # autoreconf necessary because we modified automake files
-  nativeBuildInputs = [ autoreconfHook ];
-
   doCheck = true;
 
   meta = with lib; {