18 lines
418 B
Nix
18 lines
418 B
Nix
|
{
|
||
|
buildGoModule,
|
||
|
fetchFromGitHub,
|
||
|
}: let
|
||
|
version = "1.4.0";
|
||
|
in buildGoModule {
|
||
|
pname = "gowrap";
|
||
|
inherit version;
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "hexdigest";
|
||
|
repo = "gowrap";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-eEaUANLnxRGfVbhOTwJV+R9iEWMObg0lHqmwO3AYuIk=";
|
||
|
};
|
||
|
vendorHash = "sha256-xIOyXXt8WSGQYIvIam+0e25VNI7awYEEYZBe7trC6zQ=";
|
||
|
subPackages = [ "cmd/gowrap" ];
|
||
|
}
|