bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
638 B
Nix
25 lines
638 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kona";
|
|
version = "20211225";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kevinlawler";
|
|
repo = "kona";
|
|
rev = "Win64-${version}";
|
|
sha256 = "sha256-m3a9conyKN0qHSSAG8zAb3kx8ir+7dqgxm1XGjCQcfk=";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
preInstall = ''mkdir -p "$out/bin"'';
|
|
|
|
meta = with lib; {
|
|
description = "Interpreter of K, APL-like programming language";
|
|
homepage = "https://github.com/kevinlawler/kona/";
|
|
maintainers = with maintainers; [ raskin ];
|
|
mainProgram = "k";
|
|
platforms = platforms.all;
|
|
license = licenses.isc;
|
|
};
|
|
}
|