about summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-12 14:27:04 +0100
committerGitHub <noreply@github.com>2021-01-12 14:27:04 +0100
commit82fd153465d4edc82eb4546d295680014eb7be19 (patch)
tree3d7d1208cf059a0b7d2fafbe45515e9cbfb8f23a /pkgs/shells/fish
parent5322c1f7d77a99b3f44130a029db42e40c22a399 (diff)
parent8d0ddfc1b64b926ac1a5164ab32cb535163a0e72 (diff)
downloadnixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar.gz
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar.bz2
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar.lz
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar.xz
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.tar.zst
nixlib-82fd153465d4edc82eb4546d295680014eb7be19.zip
Merge pull request #108946 from kevingriffin/fish-babelfish
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/babelfish.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/shells/fish/babelfish.nix b/pkgs/shells/fish/babelfish.nix
new file mode 100644
index 000000000000..bfe01740f140
--- /dev/null
+++ b/pkgs/shells/fish/babelfish.nix
@@ -0,0 +1,21 @@
+{ lib, stdenv, buildGoModule, fetchFromGitHub }:
+buildGoModule rec {
+  pname = "babelfish";
+  version = "0.1.3";
+
+  src = fetchFromGitHub {
+    owner = "bouk";
+    repo = "babelfish";
+    rev = "v${version}";
+    sha256 = "08i4y4fw60ynamr1jz8nkfkidxj06vcyhi1v4wxpl2macn6n4skk";
+  };
+
+  vendorSha256 = "0xjy50wciw329kq1nkd7hhaipcp4fy28hhk6cdq21qwid6g21gag";
+
+  meta = with lib; {
+    description = "Translate bash scripts to fish";
+    homepage = "https://github.com/bouk/babelfish";
+    license = licenses.mit;
+    maintainers = with maintainers; [ bouk kevingriffin ];
+  };
+}