1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "ivy";
5 version = "0.2.10";
6
7 src = fetchFromGitHub {
8 rev = "v${version}";
9 owner = "robpike";
10 repo = "ivy";
11 hash = "sha256-6rZfBx6jKNOEnG+cmrzgvjUoCHQe+olPeX11qX8ep38=";
12 };
13
14 vendorHash = null;
15
16 subPackages = [ "." ];
17
18 ldflags = [ "-s" "-w" ];
19
20 meta = with lib; {
21 homepage = "https://github.com/robpike/ivy";
22 description = "ivy, an APL-like calculator";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ smasher164 ];
25 };
26}