about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libspf2
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-10-21 17:25:23 +0000
committerAlyssa Ross <hi@alyssa.is>2023-10-21 17:25:23 +0000
commit2a87a287685e127797106ffe684015a2371729fd (patch)
tree86f3180cc4eea397d9741a530593682404e94627 /nixpkgs/pkgs/development/libraries/libspf2
parent53533fd13b70e6e78e9a63c7dad027b116335a2d (diff)
parent83b8726e5f6f85a28405c7772f75093fd9a399a3 (diff)
downloadnixlib-2a87a287685e127797106ffe684015a2371729fd.tar
nixlib-2a87a287685e127797106ffe684015a2371729fd.tar.gz
nixlib-2a87a287685e127797106ffe684015a2371729fd.tar.bz2
nixlib-2a87a287685e127797106ffe684015a2371729fd.tar.lz
nixlib-2a87a287685e127797106ffe684015a2371729fd.tar.xz
nixlib-2a87a287685e127797106ffe684015a2371729fd.tar.zst
nixlib-2a87a287685e127797106ffe684015a2371729fd.zip
Merge commit '83b8726e5f6f85a28405c7772f75093fd9a399a3'
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libspf2')
-rw-r--r--nixpkgs/pkgs/development/libraries/libspf2/default.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libspf2/default.nix b/nixpkgs/pkgs/development/libraries/libspf2/default.nix
index b7bef2973523..997e89b82397 100644
--- a/nixpkgs/pkgs/development/libraries/libspf2/default.nix
+++ b/nixpkgs/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; {