Provide NixOS module option to enable the paperless exporter. (#242084)
[NixPkgs.git] / pkgs / by-name / ti / timelens / package.nix
blob2d2f1947d6fbafb17c3a1c5e7a2d39e6ee17c284
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   pkg-config,
6   glib,
7   gst_all_1,
8   wrapGAppsHook3,
9 }:
11 rustPlatform.buildRustPackage rec {
12   pname = "timelens";
13   version = "0.1.1";
15   src = fetchFromGitHub {
16     owner = "timelens";
17     repo = "timelens";
18     rev = version;
19     hash = "sha256-cGFM1QOuavGwGBccUEttSTp+aD+d31Cqul+AQYvbyhY=";
20   };
22   cargoHash = "sha256-rVE2foebSEk3zJQTAkmhoIOFyMArGnt9tLlOS7RjQYM=";
24   nativeBuildInputs = [
25     pkg-config
26     wrapGAppsHook3
27   ];
29   buildInputs = [
30     glib
31     gst_all_1.gstreamer
32     gst_all_1.gst-libav
33     gst_all_1.gst-plugins-bad
34     gst_all_1.gst-plugins-base
35     gst_all_1.gst-plugins-good
36     gst_all_1.gst-plugins-ugly
37   ];
39   meta = {
40     description = "Open source project for creating visual timelines";
41     homepage = "https://timelens.blinry.org";
42     changelog = "https://github.com/timelens/timelens/blob/${src.rev}/CHANGELOG.md";
43     license = lib.licenses.gpl2Plus;
44     maintainers = [ ];
45     mainProgram = "timelens";
46   };