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 - 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 3 8 stdenv.mkDerivation rec { 4 9 pname = "pgmanage"; 5 - version = "11.0.1"; 10 + version = "11.0.1-git-${builtins.substring 0 7 rev}"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "pgManage"; 9 14 repo = "pgManage"; 10 - rev = "v${version}"; 11 - sha256 = "1a1dbc32b3y0ph8ydf800h6pz7dg6g1gxgid4gffk7k58xj0c5yf"; 15 + inherit rev; 16 + sha256 = "sha256-ibCzZrqfbio1wBVFKB6S/wdRxnCc7s3IQdtI9txxhaM="; 12 17 }; 13 18 14 19 patchPhase = '' ··· 20 25 ''; 21 26 22 27 buildInputs = [ postgresql openssl ]; 28 + 29 + passthru.tests.sign-in = nixosTests.pgmanage; 23 30 24 31 meta = with lib; { 25 32 description = "A fast replacement for PGAdmin";