Merge pull request #256648 from paveloom/identity

identity: 0.5.0 -> 0.6.0 + refactor
This commit is contained in:
maxine 2024-01-12 22:31:09 +01:00 committed by GitHub
commit 0e2fe90b67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2759 additions and 24 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,54 +1,60 @@
{ appstream-glib
, blueprint-compiler
, desktop-file-utils
{ lib
, stdenv
, fetchFromGitLab
, gst_all_1
, gtk4
, lib
, libadwaita
, rustPlatform
, nix-update-script
, appstream
, blueprint-compiler
, cargo
, desktop-file-utils
, meson
, ninja
, nix-update-script
, pkg-config
, rustPlatform
, rustc
, stdenv
, wrapGAppsHook4
, dav1d
, gst_all_1
, gtk4
, libadwaita
, libwebp
}:
stdenv.mkDerivation rec {
pname = "identity";
version = "0.5.0";
version = "0.6.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "YaLTeR";
repo = "identity";
rev = "v${version}";
sha256 = "sha256-ZBK2Vc2wnohABnWXRtmRdAAOnkTIHt4RriZitu8BW1A=";
hash = "sha256-AiOaTjYOc7Eo+9kl1H91TKAkCKNUJNWobmBENZlHBhQ=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-5NUnrBHj3INhh9zbdwPink47cP6uJiRyzzdj+yiSVD8=";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"gst-plugin-gtk4-0.12.0-alpha.1" = "sha256-JSw9yZ4oy7m6c9pqOT+fnYEbTlneLTtWQf3/Jbek/ps=";
};
};
nativeBuildInputs = [
appstream-glib
appstream
blueprint-compiler
cargo
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook4
rustPlatform.cargoSetupHook
cargo
rustc
rustPlatform.cargoSetupHook
wrapGAppsHook4
];
buildInputs = [
dav1d
gst_all_1.gst-libav
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
@ -56,15 +62,16 @@ stdenv.mkDerivation rec {
gst_all_1.gstreamer
gtk4
libadwaita
libwebp
];
passthru.updateScript = nix-update-script { };
meta = {
meta = with lib; {
description = "A program for comparing multiple versions of an image or video";
homepage = "https://gitlab.gnome.org/YaLTeR/identity";
maintainers = [ lib.maintainers.paveloom ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ paveloom ];
};
}