2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kona";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "20211225";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kevinlawler";
|
|
|
|
repo = "kona";
|
|
|
|
rev = "Win64-${version}";
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "sha256-m3a9conyKN0qHSSAG8zAb3kx8ir+7dqgxm1XGjCQcfk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
preInstall = ''mkdir -p "$out/bin"'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Interpreter of K, APL-like programming language";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/kevinlawler/kona/";
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "k";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.isc;
|
|
|
|
};
|
|
|
|
}
|