fspy: fix nix-env version parsing

This commit is contained in:
Sandro Jäckel 2022-04-30 02:39:15 +02:00
parent 9b310a73db
commit d1601019e2
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

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