nixpkgs/pkgs/by-name/nx/nxengine-evo/assets.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
909 B
Nix
Raw Normal View History

{ lib
, stdenvNoCC
, fetchzip
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "nxengine-assets";
2024-03-26 01:35:43 +00:00
version = "2.6.5-1";
src = fetchzip {
2024-03-26 01:35:43 +00:00
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 ];
};
})