nixpkgs/pkgs/development/interpreters/kona/default.nix

25 lines
618 B
Nix
Raw Normal View History

2021-10-22 07:38:00 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
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=";
};
makeFlags = [ "PREFIX=$(out)" ];
preInstall = ''mkdir -p "$out/bin"'';
meta = with lib; {
description = "An interpreter of K, APL-like programming language";
homepage = "https://github.com/kevinlawler/kona/";
maintainers = with maintainers; [ raskin ];
platforms = platforms.all;
license = licenses.isc;
};
}