pgmanage: 11.0.1 -> 11.0.1-git-a028604

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.

+12 -5
+12 -5
pkgs/applications/misc/pgmanage/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, postgresql, openssl } : 2 - 3 stdenv.mkDerivation rec { 4 pname = "pgmanage"; 5 - version = "11.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "pgManage"; 9 repo = "pgManage"; 10 - rev = "v${version}"; 11 - sha256 = "1a1dbc32b3y0ph8ydf800h6pz7dg6g1gxgid4gffk7k58xj0c5yf"; 12 }; 13 14 patchPhase = '' ··· 20 ''; 21 22 buildInputs = [ postgresql openssl ]; 23 24 meta = with lib; { 25 description = "A fast replacement for PGAdmin";
··· 1 + { lib, stdenv, fetchFromGitHub, postgresql, openssl, nixosTests } : 2 + let 3 + # The last release 11.0.1 from 2018 fails the NixOS test 4 + # probably because of PostgreSQL-12 incompatibility. 5 + # Fortunately the latest master does succeed the test. 6 + rev = "a028604416be382d6d310bc68b4e7c3cd16020fb"; 7 + in 8 stdenv.mkDerivation rec { 9 pname = "pgmanage"; 10 + version = "11.0.1-git-${builtins.substring 0 7 rev}"; 11 12 src = fetchFromGitHub { 13 owner = "pgManage"; 14 repo = "pgManage"; 15 + inherit rev; 16 + sha256 = "sha256-ibCzZrqfbio1wBVFKB6S/wdRxnCc7s3IQdtI9txxhaM="; 17 }; 18 19 patchPhase = '' ··· 25 ''; 26 27 buildInputs = [ postgresql openssl ]; 28 + 29 + passthru.tests.sign-in = nixosTests.pgmanage; 30 31 meta = with lib; { 32 description = "A fast replacement for PGAdmin";