about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
blob: 96dfaa7f29b7fed647dae443677517ff43955719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchFromGitHub, ... }:

stdenv.mkDerivation {
  pname = "tt-rss-plugin-ff-instagram";
  version = "unstable-2019-01-10"; # No release, see https://github.com/wltb/ff_instagram/issues/6

  src = fetchFromGitHub {
    owner = "wltb";
    repo = "ff_instagram";
    rev = "0366ffb18c4d490c8fbfba2f5f3367a5af23cfe8";
    sha256 = "0vvzl6wi6jmrqknsfddvckjgsgfizz1d923d1nyrpzjfn6bda1vk";
  };

  installPhase = ''
    mkdir -p $out/ff_instagram

    cp *.php $out/ff_instagram
  '';

  meta = with lib; {
    description = "Plugin for Tiny Tiny RSS that allows to fetch posts from Instagram user sites";
    longDescription = ''
      Plugin for Tiny Tiny RSS that allows to fetch posts from Instagram user sites.

      The name of the plugin in TT-RSS is 'ff_instagram'.
    '';
    license = licenses.agpl3;
    homepage = "https://github.com/wltb/ff_instagram";
    maintainers = with maintainers; [ das_j ];
    platforms = platforms.all;
  };
}