diff --git a/pkgs/applications/video/timelens/default.nix b/pkgs/applications/video/timelens/default.nix new file mode 100644 index 000000000000..05455b0f84f7 --- /dev/null +++ b/pkgs/applications/video/timelens/default.nix @@ -0,0 +1,45 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 41d6c76ff979..9ed1020bb6e1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13562,6 +13562,8 @@ with pkgs; timelapse-deflicker = callPackage ../applications/graphics/timelapse-deflicker { }; + timelens = callPackage ../applications/video/timelens { }; + timetrap = callPackage ../applications/office/timetrap { }; timetagger = callPackage ../servers/timetagger { };