933e6cc832
Use release tarball rather than GIT checkout. Note: disregard the platform and arch embedded in the release tarball name.
22 lines
612 B
Nix
22 lines
612 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kona-${version}";
|
|
version = "3.21";
|
|
src = fetchurl {
|
|
url = "https://github.com/kevinlawler/kona/archive/Win.${version}-64.tar.gz";
|
|
sha256 = "0c1yf3idqkfq593xgqb25r2ykmfmp83zzh3q7kb8095a069gvri3";
|
|
};
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
preInstall = ''mkdir -p "$out/bin"'';
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|