Files

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

45 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub,
}:
buildDotnetModule rec {
pname = "inklecate";
version = "1.1.1";
src = fetchFromGitHub {
owner = "inkle";
repo = "ink";
rev = "v${version}";
hash = "sha512-aUjjT5Qf64wrKRn1vkwJadMOBWMkvsXUjtZ7S3/ZWAh1CCDkQNO84mSbtbVc9ny0fKeJEqaDX2tJNwq7pYqAbA==";
};
patches = [ ./dotnet-8-upgrade.patch ];
buildInputs = [ (lib.getLib stdenv.cc.cc) ];
projectFile = "inklecate/inklecate.csproj";
nugetDeps = ./deps.json;
executables = [ "inklecate" ];
dotnet-sdk = dotnetCorePackages.sdk_8_0;
meta = with lib; {
description = "Compiler for ink, inkle's scripting language";
mainProgram = "inklecate";
longDescription = ''
Inklecate is a command-line compiler for ink, inkle's open source
scripting language for writing interactive narrative
'';
homepage = "https://www.inklestudios.com/ink/";
downloadPage = "https://github.com/inkle/ink/";
license = licenses.mit;
platforms = platforms.unix;
badPlatforms = platforms.aarch64;
maintainers = with maintainers; [ shreerammodi ];
};
}