]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - flakes/mypackages/pkgs/webapps/ttrss/plugins/af_feedmod/default.nix
Squash changes containing private information
[perso/Immae/Config/Nix.git] / flakes / mypackages / pkgs / webapps / ttrss / plugins / af_feedmod / default.nix
diff --git a/flakes/mypackages/pkgs/webapps/ttrss/plugins/af_feedmod/default.nix b/flakes/mypackages/pkgs/webapps/ttrss/plugins/af_feedmod/default.nix
new file mode 100644 (file)
index 0000000..39f9e0e
--- /dev/null
@@ -0,0 +1,18 @@
+{ patched ? false, stdenv, fetchFromGitHub, lib }:
+stdenv.mkDerivation ({
+  pname = "ttrss-af_feedmod";
+  version = "0ea2092-master";
+  src = fetchFromGitHub {
+    owner = "mbirth";
+    repo = "ttrss_plugin-af_feedmod";
+    rev = "0ea2092dd34067ecd898802cfca3570023d1ecfe";
+    sha256 = "02ibf47zcrsc2rr45wsix8gxyyf371davj8n8i0gj1zdq95klvnv";
+    fetchSubmodules = true;
+  };
+  patches = lib.optionals patched [ ./type_replace.patch ];
+  installPhase = ''
+    mkdir $out
+    cp init.php $out
+    '';
+  passthru.pluginName = "af_feedmod";
+})