about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix')
-rw-r--r--nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix b/nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
new file mode 100644
index 000000000000..96dfaa7f29b7
--- /dev/null
+++ b/nixpkgs/pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
@@ -0,0 +1,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;
+  };
+}