doc: emphasize trade-off between versionCheckHook and testers.testVersion (#344321)
[NixPkgs.git] / pkgs / by-name / pg / pgroll / package.nix
blob3aadec0057974b0ae7ddcac6857305f72f488bbf
2   buildGoModule,
3   fetchFromGitHub,
4   lib,
5   libpg_query,
6   xxHash,
7 }:
8 buildGoModule rec {
9   pname = "pgroll";
10   version = "0.8.0";
12   src = fetchFromGitHub {
13     owner = "xataio";
14     repo = "pgroll";
15     tag = "v${version}";
16     hash = "sha256-iRa1dCUKmGUBpWjQXgKGrVu69WaTGQD8XhKmNxkF0JI=";
17   };
19   vendorHash = "sha256-XTypaCEB0+cfAmN4UyDRQgiF7spQhkiH2jCwjhd3I8Y=";
21   excludedPackages = [
22     "dev"
23   ];
25   buildInputs = [
26     libpg_query
27     xxHash
28   ];
30   # Tests require a running docker daemon
31   doCheck = false;
33   meta = {
34     description = "PostgreSQL zero-downtime migrations made easy";
35     license = lib.licenses.asl20;
36     homepage = "https://github.com/xataio/pgroll";
37     maintainers = with lib.maintainers; [ ilyakooo0 ];
38   };