Merge pull request #261633 from helsinki-systems/upd/libspf2

libspf2: 2.2.12 -> 2.2.13 and make deps strict

authored by Thomas Gerbet and committed by GitHub 9523d16a 6958acea

+5 -13
+5 -13
pkgs/development/libraries/libspf2/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 pname = "libspf2"; 5 - version = "2.2.12"; 6 7 src = fetchFromGitHub { 8 owner = "helsinki-systems"; 9 repo = "libspf2"; 10 rev = "v${version}"; 11 - sha256 = "03iiaafdcwh220pqignk407h6klrakwz0zkb8iwk6nkwipkwvhsx"; 12 }; 13 14 - patches = [ 15 - # glibc-2.34 compat 16 - (fetchpatch { 17 - url = "https://raw.githubusercontent.com/gentoo/gentoo/dbb8a5c9f749cc11e61cfe558f164b165cbc30cb/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch"; 18 - sha256 = "sha256-6JVVkVGCcFJsNeBdVTPcLhW4KoHLY4ai/KXDMliXgPA="; 19 - }) 20 - ]; 21 22 postPatch = '' 23 # disable static bins compilation ··· 27 -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \ 28 -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am 29 ''; 30 - 31 - # autoreconf necessary because we modified automake files 32 - nativeBuildInputs = [ autoreconfHook ]; 33 34 doCheck = true; 35
··· 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 3 stdenv.mkDerivation rec { 4 pname = "libspf2"; 5 + version = "2.2.13"; 6 7 src = fetchFromGitHub { 8 owner = "helsinki-systems"; 9 repo = "libspf2"; 10 rev = "v${version}"; 11 + hash = "sha256-tkCHP3B1sBb0+scHBjX5lCvaeSrZryfaGKye02LFlYs="; 12 }; 13 14 + nativeBuildInputs = [ autoreconfHook ]; 15 + strictDeps = true; 16 17 postPatch = '' 18 # disable static bins compilation ··· 22 -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \ 23 -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am 24 ''; 25 26 doCheck = true; 27