Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5 libpg_query, 6 xxHash, 7}: 8 9buildGoModule rec { 10 pname = "pgroll"; 11 version = "0.14.1"; 12 13 src = fetchFromGitHub { 14 owner = "xataio"; 15 repo = "pgroll"; 16 tag = "v${version}"; 17 hash = "sha256-5g9adfp0kJ/Qou7TnTb6Pu04u2LXPfUct8Xkkodf1S8="; 18 }; 19 20 proxyVendor = true; 21 22 vendorHash = "sha256-pK1cR62cGt1OE8Rz2qTb6ZBDCnuqes9HJGY7QOREv6E="; 23 24 excludedPackages = [ "dev" ]; 25 26 buildInputs = [ 27 libpg_query 28 xxHash 29 ]; 30 31 # Tests require a running docker daemon 32 doCheck = false; 33 34 meta = { 35 description = "PostgreSQL zero-downtime migrations made easy"; 36 license = lib.licenses.asl20; 37 mainProgram = "pgroll"; 38 homepage = "https://github.com/xataio/pgroll"; 39 maintainers = with lib.maintainers; [ ilyakooo0 ]; 40 }; 41}