nixpkgs-suyu/pkgs/development/interpreters/kona/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
602 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "kona";
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;
};
}