30 lines
572 B
Nix
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 ];
|
||
|
};
|
||
|
}
|