Merge pull request #170966 from SuperSandro2000/fspy

This commit is contained in:
Sandro 2022-04-30 19:34:05 +02:00 committed by GitHub
commit 6ea33082ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@
let let
pname = "fspy"; pname = "fspy";
version = "1.0.3"; version = "1.0.3";
name = "${pname}-v${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/stuffmatic/fSpy/releases/download/v${version}/${pname}-${version}-x86_64.AppImage"; url = "https://github.com/stuffmatic/fSpy/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
@ -10,10 +9,10 @@ let
}; };
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit name src; inherit pname version src;
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname} mv $out/bin/${pname}-v${version} $out/bin/${pname}
''; '';
meta = with lib; { meta = with lib; {