mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
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;
|
|
};
|
|
}
|