mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
38 lines
909 B
Nix
38 lines
909 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchzip
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "nxengine-assets";
|
|
version = "2.6.5-1";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/nxengine/nxengine-evo/releases/download/v${finalAttrs.version}/NXEngine-Evo-v${finalAttrs.version}-Win64.zip";
|
|
hash = "sha256-+PjjhJYL1yk67QJ7ixfpCRg1coQnSPpXDUIwsqp9aIM=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/nxengine/
|
|
cp -r data/ $out/share/nxengine/data
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nxengine/nxengine-evo";
|
|
description = "Assets for nxengine-evo";
|
|
license = with lib.licenses; [
|
|
unfreeRedistributable
|
|
];
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.all;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
})
|