2024-04-09 14:36:41 +02:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pgroll";
|
2024-05-21 23:37:33 +02:00
|
|
|
version = "0.6.0";
|
2024-04-09 14:36:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xataio";
|
|
|
|
repo = "pgroll";
|
|
|
|
rev = "v${version}";
|
2024-05-21 23:37:33 +02:00
|
|
|
hash = "sha256-XZrgJZR6CWdQWgGMXlEyZ5De6bu/u7+YvYvq6id9YzM=";
|
2024-04-09 14:36:41 +02:00
|
|
|
};
|
|
|
|
|
2024-05-21 23:37:33 +02:00
|
|
|
vendorHash = "sha256-+6HpxqQxGpIAyfn+38UeW2ksv5WyX67AT5e9JgQBI+k=";
|
2024-04-09 14:36:41 +02:00
|
|
|
|
|
|
|
# Tests require a running docker daemon
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PostgreSQL zero-downtime migrations made easy";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://github.com/xataio/pgroll";
|
|
|
|
maintainers = with maintainers; [ ilyakooo0 ];
|
|
|
|
};
|
|
|
|
}
|