]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - flakes/libspf2/default.nix
Remove libspf2 flake for stock one
[perso/Immae/Config/Nix.git] / flakes / libspf2 / default.nix
diff --git a/flakes/libspf2/default.nix b/flakes/libspf2/default.nix
deleted file mode 100644 (file)
index d22c738..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-{ fetchpatch, file, fetchurl, libnsl, stdenv, lib }:
-stdenv.mkDerivation rec {
-  pname = "libspf2";
-  version = "1.2.10";
-
-  patches = [
-    (fetchpatch {
-      name = "fix-variadic-macros.patch";
-      url = "https://github.com/shevek/libspf2/commit/5852828582f556e73751076ad092f72acf7fc8b6.patch";
-      sha256 = "00dqpcgjr9jy2qprgqv2qiyvq8y3wlz4yns9xzabf2064jzqh2ic";
-    })
-  ];
-  preConfigure = ''
-    sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
-    '';
-  configureFlags = [
-    "--enable-static"
-  ];
-  postInstall = ''
-    rm $out/bin/*_static
-    '';
-  src = fetchurl {
-    url = "https://www.libspf2.org/spf/${pname}-${version}.tar.gz";
-    sha256 = "1j91p0qiipzf89qxq4m1wqhdf01hpn1h5xj4djbs51z23bl3s7nr";
-  };
-
-  buildInputs = [ libnsl ];
-
-  meta = {
-    description = "Sender Policy Framework record checking library";
-    homepage = "https://www.libspf2.org/";
-    platforms = lib.platforms.linux;
-  };
-}