depot/third_party/nixpkgs/pkgs/applications/video/timelens/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

46 lines
984 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
, gst_all_1
, wrapGAppsHook3
}:
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
wrapGAppsHook3
];
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 = "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 = [ ];
mainProgram = "timelens";
};
}