2024-01-13 08:15:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-03-30 22:05:00 +00:00
|
|
|
, fetchFromGitLab
|
2024-01-13 08:15:51 +00:00
|
|
|
, rustPlatform
|
|
|
|
, nix-update-script
|
|
|
|
|
|
|
|
, appstream
|
|
|
|
, blueprint-compiler
|
2023-05-24 13:37:59 +00:00
|
|
|
, cargo
|
2024-01-13 08:15:51 +00:00
|
|
|
, desktop-file-utils
|
2023-03-30 22:05:00 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2023-05-24 13:37:59 +00:00
|
|
|
, rustc
|
2023-03-30 22:05:00 +00:00
|
|
|
, wrapGAppsHook4
|
2024-01-13 08:15:51 +00:00
|
|
|
|
|
|
|
, dav1d
|
|
|
|
, gst_all_1
|
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, libwebp
|
2023-03-30 22:05:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "identity";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.6.0";
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "YaLTeR";
|
|
|
|
repo = "identity";
|
|
|
|
rev = "v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-AiOaTjYOc7Eo+9kl1H91TKAkCKNUJNWobmBENZlHBhQ=";
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
|
|
|
"gst-plugin-gtk4-0.12.0-alpha.1" = "sha256-JSw9yZ4oy7m6c9pqOT+fnYEbTlneLTtWQf3/Jbek/ps=";
|
|
|
|
};
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-01-13 08:15:51 +00:00
|
|
|
appstream
|
2023-03-30 22:05:00 +00:00
|
|
|
blueprint-compiler
|
2024-01-13 08:15:51 +00:00
|
|
|
cargo
|
2023-03-30 22:05:00 +00:00
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2023-05-24 13:37:59 +00:00
|
|
|
rustc
|
2024-01-13 08:15:51 +00:00
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
wrapGAppsHook4
|
2023-05-24 13:37:59 +00:00
|
|
|
];
|
2023-03-30 22:05:00 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2024-01-13 08:15:51 +00:00
|
|
|
dav1d
|
2023-03-30 22:05:00 +00:00
|
|
|
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.gstreamer
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
2024-01-13 08:15:51 +00:00
|
|
|
libwebp
|
2023-03-30 22:05:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
meta = with lib; {
|
2023-03-30 22:05:00 +00:00
|
|
|
description = "A program for comparing multiple versions of an image or video";
|
|
|
|
homepage = "https://gitlab.gnome.org/YaLTeR/identity";
|
2024-01-13 08:15:51 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ paveloom ];
|
2023-03-30 22:05:00 +00:00
|
|
|
};
|
|
|
|
}
|