Merge pull request #234424 from basvandijk/upgrade-pgmanage-to-fix-nixos-test
pgmanage: 11.0.1 -> unstable-2022-05-11
This commit is contained in:
commit
d8e39e7307
|
@ -1,14 +1,16 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, postgresql, openssl } :
|
{ lib, stdenv, fetchFromGitHub, postgresql, openssl, nixosTests } :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pgmanage";
|
pname = "pgmanage";
|
||||||
version = "11.0.1";
|
# The last release 11.0.1 from 2018 fails the NixOS test
|
||||||
|
# probably because of PostgreSQL-12 incompatibility.
|
||||||
|
# Fortunately the latest master does succeed the test.
|
||||||
|
version = "unstable-2022-05-11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pgManage";
|
owner = "pgManage";
|
||||||
repo = "pgManage";
|
repo = "pgManage";
|
||||||
rev = "v${version}";
|
rev = "a028604416be382d6d310bc68b4e7c3cd16020fb";
|
||||||
sha256 = "1a1dbc32b3y0ph8ydf800h6pz7dg6g1gxgid4gffk7k58xj0c5yf";
|
sha256 = "sha256-ibCzZrqfbio1wBVFKB6S/wdRxnCc7s3IQdtI9txxhaM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -21,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ postgresql openssl ];
|
buildInputs = [ postgresql openssl ];
|
||||||
|
|
||||||
|
passthru.tests.sign-in = nixosTests.pgmanage;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fast replacement for PGAdmin";
|
description = "A fast replacement for PGAdmin";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue