fspy: init at 1.0.3

It does not support wayland and therefore has to be run with
GDK_BACKEND=x11.
This commit is contained in:
Simon Bruder 2021-07-17 13:05:04 +02:00
parent 8471d00fb4
commit e42324eaa7
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 28 additions and 0 deletions

25
fSpy/default.nix Normal file
View file

@ -0,0 +1,25 @@
{ lib, appimageTools, fetchurl, gsettings-desktop-schemas, gtk3 }:
let
pname = "fSpy";
version = "1.0.3";
in
appimageTools.wrapType2 {
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/stuffmatic/${pname}/releases/download/v${version}/${lib.toLower pname}-${version}-x86_64.AppImage";
sha256 = "0w0ps15xx6nyn0gy4xwhlmgc37ddmfggrm9rjbclq4kf9i4arsig";
};
profile = ''
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
meta = with lib; {
description = "A cross platform app for quick and easy still image camera matching";
homepage = "https://fspy.io";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -32,6 +32,8 @@
deemix = callPythonPackage ./deemix { };
fSpy = callPackage ./fSpy { };
face_morpher = callPythonPackage ./face_morpher { };
mpvScripts = prev.mpvScripts // {
@ -80,6 +82,7 @@
VisiCut
cyanrip
deemix
fSpy
face_morpher
nsz
oha