1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/shells/fish/babelfish.nix

22 lines
577 B
Nix
Raw Normal View History

2021-01-12 11:19:54 +00:00
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "babelfish";
2021-01-21 13:19:48 +00:00
version = "1.0.1";
2021-01-12 11:19:54 +00:00
src = fetchFromGitHub {
owner = "bouk";
repo = "babelfish";
rev = "v${version}";
2021-01-21 13:19:48 +00:00
sha256 = "1sr6y79igyfc9ia33nyrjjm4my1jrpcw27iks37kygh93npsb3r1";
2021-01-12 11:19:54 +00:00
};
2021-01-21 13:19:48 +00:00
vendorSha256 = "0xjy50wciw329kq1nkd7hhaipcp4fy28hhk6cdq21qwid6g21gag";
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 ];
};
}