aboutsummaryrefslogtreecommitdiff
path: root/flakes/mypackages/pkgs/webapps/ttrss/plugins/af_feedmod/default.nix
blob: 39f9e0e3db89e53917f91780955d65679e65bdc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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";
})