nixpkgs/pkgs/development/interpreters/anko/default.nix
2023-08-11 12:36:36 -04:00

30 lines
572 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "anko";
version = "0.1.9";
src = fetchFromGitHub {
owner = "mattn";
repo = "anko";
rev = "v${version}";
hash = "sha256-ZVNkQu5IxBx3f+FkUWc36EOEcY176wQJ2ravLPQAHAA=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Scriptable interpreter written in golang";
homepage = "https://github.com/mattn/anko";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}