2022-01-19 23:45:15 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ivy";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.2.10";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "robpike";
|
|
|
|
repo = "ivy";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-6rZfBx6jKNOEnG+cmrzgvjUoCHQe+olPeX11qX8ep38=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
vendorHash = null;
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/robpike/ivy";
|
|
|
|
description = "ivy, an APL-like calculator";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ smasher164 ];
|
|
|
|
};
|
|
|
|
}
|