nixpkgs/pkgs/applications/graphics/identity/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

78 lines
1.4 KiB
Nix
Raw Normal View History

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