2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "spirit";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0-unstable-2024-04-18";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cashapp";
|
|
|
|
repo = "spirit";
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "886ee21e7338faef6612495b27d409713a202082";
|
|
|
|
hash = "sha256-xXObprJCo9evArCX5ezqrD+lagiHMO4SwycY+pTkHPg=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
vendorHash = "sha256-r6iQs5kgOniHCN8KteQ17rPhQ/73Exuqlu6qWgKEIzs=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|