diff options
author | Pavel Sobolev <paveloom@riseup.net> | 2023-03-30 00:02:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 21:02:59 -0300 |
commit | 6fc5b40ed4857c78e46e4ea544446f540c419f87 (patch) | |
tree | 90e26457ef27cc40b976d1f5b26644c48f4bdb31 /pkgs/applications/graphics/identity | |
parent | 160d82edc1907a5b64d463726e0e3221c1601eac (diff) |
identity: init at 0.5.0
* identity: init at 0.5.0 (#223048) * identity: fix meta.description order --------- Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
Diffstat (limited to 'pkgs/applications/graphics/identity')
-rw-r--r-- | pkgs/applications/graphics/identity/default.nix | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/identity/default.nix b/pkgs/applications/graphics/identity/default.nix new file mode 100644 index 0000000000000..ba459d5551a58 --- /dev/null +++ b/pkgs/applications/graphics/identity/default.nix @@ -0,0 +1,69 @@ +{ appstream-glib +, blueprint-compiler +, desktop-file-utils +, fetchFromGitLab +, gst_all_1 +, gtk4 +, lib +, libadwaita +, meson +, ninja +, nix-update-script +, pkg-config +, rustPlatform +, stdenv +, wrapGAppsHook4 +}: + +stdenv.mkDerivation rec { + pname = "identity"; + version = "0.5.0"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "YaLTeR"; + repo = "identity"; + rev = "v${version}"; + sha256 = "sha256-ZBK2Vc2wnohABnWXRtmRdAAOnkTIHt4RriZitu8BW1A="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + name = "${pname}-${version}"; + hash = "sha256-5NUnrBHj3INhh9zbdwPink47cP6uJiRyzzdj+yiSVD8="; + }; + + nativeBuildInputs = [ + appstream-glib + blueprint-compiler + desktop-file-utils + meson + ninja + pkg-config + wrapGAppsHook4 + ] ++ (with rustPlatform; [ + cargoSetupHook + rust.cargo + rust.rustc + ]); + + buildInputs = [ + 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 + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + 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; + }; +} |