nixpkgs/pkgs/shells/fish/babelfish.nix

22 lines
569 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2021-01-12 11:19:54 +00:00
buildGoModule rec {
pname = "babelfish";
2021-02-01 12:25:48 +00:00
version = "1.1.0";
2021-01-12 11:19:54 +00:00
src = fetchFromGitHub {
owner = "bouk";
repo = "babelfish";
rev = "v${version}";
2021-02-01 12:25:48 +00:00
sha256 = "0b1knj9llwzwnl4w3d6akvlc57dp0fszjkq98w8wybcvkbpd3ip1";
2021-01-12 11:19:54 +00:00
};
2021-02-01 12:25:48 +00:00
vendorSha256 = "0kspqwbgiqfkfj9a9pdwzc0jdi9p35abqqqjhcpvqwdxw378w5lz";
2021-01-12 11:19:54 +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 ];
};
}