about summary refs log tree commit diff
path: root/pkgs/applications/video/timelens/default.nix
blob: bd38a4c2f76aff62cd452a41045478235f9715c5 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, gst_all_1
, wrapGAppsHook
}:

rustPlatform.buildRustPackage rec {
  pname = "timelens";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "timelens";
    repo = "timelens";
    rev = version;
    hash = "sha256-cGFM1QOuavGwGBccUEttSTp+aD+d31Cqul+AQYvbyhY=";
  };

  cargoHash = "sha256-rVE2foebSEk3zJQTAkmhoIOFyMArGnt9tLlOS7RjQYM=";

  nativeBuildInputs = [
    pkg-config
    wrapGAppsHook
  ];

  buildInputs = [
    glib
    gst_all_1.gstreamer
    gst_all_1.gst-libav
    gst_all_1.gst-plugins-bad
    gst_all_1.gst-plugins-base
    gst_all_1.gst-plugins-good
    gst_all_1.gst-plugins-ugly
  ];

  meta = {
    description = "A open source project for creating visual timelines";
    homepage = "https://timelens.blinry.org";
    changelog = "https://github.com/timelens/timelens/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ janik ];
    mainProgram = "timelens";
  };
}