2022-01-19 23:45:15 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoPatchelfHook
|
|
|
|
, buildDotnetModule
|
|
|
|
, dotnetCorePackages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDotnetModule rec {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "inklecate";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.1.1";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inkle";
|
|
|
|
repo = "ink";
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha512-aUjjT5Qf64wrKRn1vkwJadMOBWMkvsXUjtZ7S3/ZWAh1CCDkQNO84mSbtbVc9ny0fKeJEqaDX2tJNwq7pYqAbA==";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
2022-01-19 23:45:15 +00:00
|
|
|
buildInputs = [ stdenv.cc.cc.lib ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
projectFile = "inklecate/inklecate.csproj";
|
2022-12-28 21:21:41 +00:00
|
|
|
nugetDeps = ./deps.nix;
|
2022-01-19 23:45:15 +00:00
|
|
|
executables = [ "inklecate" ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_6_0;
|
|
|
|
dotnet-runtime = dotnetCorePackages.runtime_6_0;
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-01-19 23:45:15 +00:00
|
|
|
description = "Compiler for ink, inkle's scripting language";
|
2021-07-14 22:03:04 +00:00
|
|
|
longDescription = ''
|
|
|
|
Inklecate is a command-line compiler for ink, inkle's open source
|
|
|
|
scripting language for writing interactive narrative
|
2022-01-19 23:45:15 +00:00
|
|
|
'';
|
|
|
|
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 ];
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|