2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "babelfish";
|
2021-01-17 00:15:33 +00:00
|
|
|
version = "1.0.0";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bouk";
|
|
|
|
repo = "babelfish";
|
|
|
|
rev = "v${version}";
|
2021-01-17 00:15:33 +00:00
|
|
|
sha256 = "A5FUnER25FDkL/K7RCqudZI6Xd5wg9B8aLbYUw6+7BA=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
vendorSha256 = "T70gnmmR4yBwY2ZCiIR35LIbFYSnTRvwTGLwyDgoXnY=";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Translate bash scripts to fish";
|
|
|
|
homepage = "https://github.com/bouk/babelfish";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bouk kevingriffin ];
|
|
|
|
};
|
|
|
|
}
|