flightgear: 2020.3.17 -> 2020.3.18

This commit is contained in:
Kirill Radzikhovskyy 2023-05-15 15:57:52 +10:00
parent 0cb867999e
commit 6692d1dcc1

View File

@ -6,7 +6,7 @@
}: }:
let let
version = "2020.3.17"; version = "2020.3.18";
shortVersion = builtins.substring 0 6 version; shortVersion = builtins.substring 0 6 version;
data = stdenv.mkDerivation rec { data = stdenv.mkDerivation rec {
pname = "flightgear-data"; pname = "flightgear-data";
@ -14,7 +14,7 @@ let
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/FlightGear-${version}-data.txz"; url = "mirror://sourceforge/flightgear/release-${shortVersion}/FlightGear-${version}-data.txz";
sha256 = "sha256-Kl66K5rmejaRKFgzps4/a73z8gIp9YcdfJQOFR1U2Og="; sha256 = "sha256-U8lsHrw40Xo6a3jZw6GiPnOALvvg9PdecVAdkZewUjg=";
}; };
dontUnpack = true; dontUnpack = true;
@ -27,12 +27,12 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flightgear"; pname = "flightgear";
# inheriting data for `nix-prefetch-url -A pkgs.flightgear.data.src` # inheriting data for `nix-prefetch-url -A pkgs.flightgear.data.src`
inherit version data; inherit version data;
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2"; url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2";
sha256 = "sha256-ZnDe3qyiaDrKd/nwa/nR2AYq4yoqVFnd3IqgmJxfGFQ="; sha256 = "sha256-OajjGj/Bgqg8H/6PjXkwJHwbSQqtzbQ1b3Xwk3aI3jc=";
}; };
# Of all the files in the source and data archives, there doesn't seem to be # Of all the files in the source and data archives, there doesn't seem to be