nixpkgs/pkgs/development/interpreters/ivy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
574 B
Nix
Raw Normal View History

2022-01-18 21:27:52 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ivy";
2023-05-01 04:20:00 +00:00
version = "0.2.10";
2022-01-18 21:27:52 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "robpike";
repo = "ivy";
2023-05-01 04:20:00 +00:00
hash = "sha256-6rZfBx6jKNOEnG+cmrzgvjUoCHQe+olPeX11qX8ep38=";
2022-01-18 21:27:52 +00:00
};
2023-05-01 04:20:00 +00:00
vendorHash = null;
2022-01-18 21:27:52 +00:00
subPackages = [ "." ];
2023-05-01 04:20:00 +00:00
ldflags = [ "-s" "-w" ];
2022-01-18 21:27:52 +00:00
meta = with lib; {
homepage = "https://github.com/robpike/ivy";
description = "ivy, an APL-like calculator";
mainProgram = "ivy";
2022-01-18 21:27:52 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ smasher164 ];
};
}