mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
28 lines
573 B
Nix
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 ];
|
|
};
|
|
}
|