depot/pkgs/by-name/sp/spirit/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

34 lines
680 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "spirit";
version = "0.6.0";
src = fetchFromGitHub {
owner = "cashapp";
repo = "spirit";
rev = "v${version}-prerelease";
hash = "sha256-mI4nO/yQdCrqxCDyOYQPQ905EVreYPEiupe+F4RjIqw=";
};
vendorHash = "sha256-es1PGgLoE3DklnQziRjWmY7f6NNVd24L2JiuLkol6HI=";
subPackages = [ "cmd/spirit" ];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
homepage = "https://github.com/cashapp/spirit";
description = "Online schema change tool for MySQL";
license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ];
mainProgram = "spirit";
};
}