nixpkgs/pkgs/development/interpreters/ivy/default.nix
2024-06-09 05:05:58 +00:00

28 lines
573 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ivy";
version = "0.3.4";
src = fetchFromGitHub {
rev = "v${version}";
owner = "robpike";
repo = "ivy";
hash = "sha256-/Q929ZXv3F6MZ+FdWKfbThNDT3JpvQw7WLGnbmitdOg=";
};
vendorHash = null;
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/robpike/ivy";
description = "ivy, an APL-like calculator";
mainProgram = "ivy";
license = licenses.bsd3;
maintainers = with maintainers; [ smasher164 ];
};
}