2021-10-22 07:38:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2011-05-03 06:58:01 +00:00
|
|
|
|
2015-03-24 19:16:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "kona";
|
2021-12-30 23:36:13 +00:00
|
|
|
version = "20211225";
|
2021-10-22 07:38:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kevinlawler";
|
|
|
|
repo = "kona";
|
|
|
|
rev = "Win64-${version}";
|
2021-12-30 23:36:13 +00:00
|
|
|
sha256 = "sha256-m3a9conyKN0qHSSAG8zAb3kx8ir+7dqgxm1XGjCQcfk=";
|
2011-05-03 06:58:01 +00:00
|
|
|
};
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-03-24 19:16:23 +00:00
|
|
|
preInstall = ''mkdir -p "$out/bin"'';
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
meta = with lib; {
|
2011-05-03 06:58:01 +00:00
|
|
|
description = "An interpreter of K, APL-like programming language";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/kevinlawler/kona/";
|
2015-03-24 19:16:23 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2022-05-05 00:46:39 +00:00
|
|
|
mainProgram = "k";
|
2015-03-24 19:16:23 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.isc;
|
2011-05-03 06:58:01 +00:00
|
|
|
};
|
2015-03-24 19:16:23 +00:00
|
|
|
}
|