nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ appimageTools, lib, fetchurl }:
2let
3 pname = "fspy";
4 version = "1.0.3";
5
6 src = fetchurl {
7 url = "https://github.com/stuffmatic/fSpy/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
8 sha256 = "sha256-L+qsSExuEkzZkjnV/J6rrZ3BXqWQd+IfsN6a3kvQF3A=";
9 };
10
11in appimageTools.wrapType2 {
12 inherit pname version src;
13
14 extraInstallCommands = ''
15 mv $out/bin/${pname}-${version} $out/bin/${pname}
16 '';
17
18 meta = with lib; {
19 description = "A cross platform app for quick and easy still image camera matching";
20 license = licenses.gpl3;
21 homepage = "https://fspy.io/";
22 maintainers = with maintainers; [ polygon ];
23 platforms = platforms.linux;
24 mainProgram = "fspy";
25 };
26}