mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
patroni: 4.0.2 -> 4.0.3 (#349685)
This commit is contained in:
commit
1106ec548b
@ -1,21 +1,22 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, pythonPackages
|
, python3Packages
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "patroni";
|
pname = "patroni";
|
||||||
version = "4.0.2";
|
version = "4.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zalando";
|
owner = "zalando";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-ykTg5Zd4dU1D6dnj6QbNfGUXrSteKrQjV2hpIPhXGLU=";
|
sha256 = "sha256-urNTxaipM4wD+1fp7EFdT7/FGLq86O1nOfst7JyX0fc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
boto3
|
boto3
|
||||||
click
|
click
|
||||||
consul
|
consul
|
||||||
@ -34,7 +35,7 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
ydiff
|
ydiff
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with pythonPackages; [
|
nativeCheckInputs = with python3Packages; [
|
||||||
flake8
|
flake8
|
||||||
mock
|
mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
@ -47,8 +48,10 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "patroni" ];
|
pythonImportsCheck = [ "patroni" ];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru = {
|
||||||
patroni = nixosTests.patroni;
|
tests.patroni = nixosTests.patroni;
|
||||||
|
|
||||||
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
@ -24846,8 +24846,6 @@ with pkgs;
|
|||||||
|
|
||||||
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };
|
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };
|
||||||
|
|
||||||
patroni = callPackage ../servers/sql/patroni { pythonPackages = python3Packages; };
|
|
||||||
|
|
||||||
pgbouncer = callPackage ../servers/sql/pgbouncer { };
|
pgbouncer = callPackage ../servers/sql/pgbouncer { };
|
||||||
|
|
||||||
pgcat = callPackage ../servers/sql/pgcat {};
|
pgcat = callPackage ../servers/sql/pgcat {};
|
||||||
|
Loading…
Reference in New Issue
Block a user