mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
fspy: fix nix-env version parsing
This commit is contained in:
parent
9b310a73db
commit
d1601019e2
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue