summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/matrix-dl/default.nix
blob: 97f7752202297b69184bd112951b2dce5ec71c3b (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
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "matrix-dl-unstable";
  version = "2019-09-22";

  src = fetchFromGitHub {
    owner = "rubo77";
    repo = "matrix-dl";
    rev = "e91610f45b7b3b0aca34923309fc83ba377f8a69";
    sha256 = "036xfdd21pcfjlilknc67z5jqpk0vz07853wwcsiac32iypc6f2q";
  };

  propagatedBuildInputs = with python3Packages; [
    matrix-client
  ];

  meta = with lib; {
    description = "Download backlogs from Matrix as raw text";
    homepage = src.meta.homepage;
    license = licenses.gpl1Plus;
    maintainers = with maintainers; [ aw ];
    platforms = platforms.unix;
  };
}