depot/third_party/nixpkgs/pkgs/development/interpreters/anko/default.nix

30 lines
572 B
Nix
Raw Normal View History

{ 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 ];
};
}