mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
32 lines
667 B
Nix
32 lines
667 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule (finalAttrs: {
|
|
pname = "babelfish";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bouk";
|
|
repo = "babelfish";
|
|
tag = "v${finalAttrs.version}";
|
|
sha256 = "sha256-/rWX77n9wqWxkHG7gVOinCJ6ahuEfbAcGijC1oAxrno=";
|
|
};
|
|
|
|
vendorHash = "sha256-HY9ejLfT6gj3vUMSzbNZ4QlpB+liigTtNDBNWCy8X38=";
|
|
|
|
__structuredAttrs = true;
|
|
|
|
meta = {
|
|
description = "Translate bash scripts to fish";
|
|
mainProgram = "babelfish";
|
|
homepage = "https://github.com/bouk/babelfish";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
bouk
|
|
kevingriffin
|
|
];
|
|
};
|
|
})
|