about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/tt-rss/plugin-tumblr-gdpr/default.nix
blob: 7df8b717593656d728a80937ad84a31d8f48c520 (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 rec {
  pname = "tt-rss-plugin-tumblr-gdpr";
  version = "2.1";

  src = fetchFromGitHub {
    owner = "GregThib";
    repo = "ttrss-tumblr-gdpr";
    rev = "v${version}";
    sha256 = "09cbghi5b6ww4i5677i39qc9rhpq70xmygp0d7x30239r3i23rpq";
  };

  installPhase = ''
    mkdir -p $out/tumblr_gdpr

    cp init.php $out/tumblr_gdpr
  '';

  meta = with lib; {
    description = "Plugin for TT-RSS to workaround GDPR in Europe";
    longDescription = ''
      Plugin for TT-RSS to workaround GDPR in Europe.

      The name of the plugin in TT-RSS is 'tumblr_gdpr'.
    '';
    license = licenses.gpl3;
    homepage = "https://github.com/GregThib/ttrss-tumblr-gdpr";
    maintainers = with maintainers; [ das_j ];
    platforms = platforms.all;
  };
}