mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
23 lines
596 B
Nix
23 lines
596 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "babelfish";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bouk";
|
|
repo = "babelfish";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-/rWX77n9wqWxkHG7gVOinCJ6ahuEfbAcGijC1oAxrno=";
|
|
};
|
|
|
|
vendorHash = "sha256-HY9ejLfT6gj3vUMSzbNZ4QlpB+liigTtNDBNWCy8X38=";
|
|
|
|
meta = with lib; {
|
|
description = "Translate bash scripts to fish";
|
|
mainProgram = "babelfish";
|
|
homepage = "https://github.com/bouk/babelfish";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bouk kevingriffin ];
|
|
};
|
|
}
|