summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorKevin Griffin <me@kevin.jp>2021-01-12 20:19:54 +0900
committerKevin Griffin <me@kevin.jp>2021-01-12 20:19:54 +0900
commit8d0ddfc1b64b926ac1a5164ab32cb535163a0e72 (patch)
tree6d9ddaae5db3e87fca490e9663613f4d3b0ac6bd /pkgs/shells
parent82c95597ad23483cf341948856d754dde58b7cb3 (diff)
downloadnixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar.gz
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar.bz2
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar.lz
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar.xz
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.tar.zst
nixpkgs-8d0ddfc1b64b926ac1a5164ab32cb535163a0e72.zip
babelfish: init at version 0.1.3
Diffstat (limited to 'pkgs/shells')
-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 00000000000..bfe01740f14
--- /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 ];
+  };
+}