
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back at undergrad, this focus should be even narrower: I will keep my eyes on Emacs, and nothing else.
39 lines
899 B
Nix
39 lines
899 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; [ ];
|
|
platforms = lib.platforms.all;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
})
|