spacefrogg-overlay/x-plane/sdk.nix

14 lines
373 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
pname = "x-plane-sdk";
version = "2.1.3";
nativeBuildInputs = [ unzip ];
src = fetchurl {
url = "http://www.xsquawkbox.net/xpsdk/XPSDK213.zip";
sha256 = "0z09c0bjimh2b3vh4m14a7vw2laj2g123av2xzsiz804vlcxp5x0";
};
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = "mkdir -p $out; cp -r * $out";
}