3
0
Fork 0
forked from mirrors/nixpkgs

pgmanage: use a valid version number

This commit is contained in:
Bas van Dijk 2023-05-27 14:39:24 +00:00
parent dd2c53cb2c
commit 8195adcf53

View file

@ -1,18 +1,15 @@
{ lib, stdenv, fetchFromGitHub, postgresql, openssl, nixosTests } : { lib, stdenv, fetchFromGitHub, postgresql, openssl, nixosTests } :
let stdenv.mkDerivation rec {
pname = "pgmanage";
# The last release 11.0.1 from 2018 fails the NixOS test # The last release 11.0.1 from 2018 fails the NixOS test
# probably because of PostgreSQL-12 incompatibility. # probably because of PostgreSQL-12 incompatibility.
# Fortunately the latest master does succeed the test. # Fortunately the latest master does succeed the test.
rev = "a028604416be382d6d310bc68b4e7c3cd16020fb"; version = "unstable-2022-05-11";
in
stdenv.mkDerivation rec {
pname = "pgmanage";
version = "11.0.1-git-${builtins.substring 0 7 rev}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgManage"; owner = "pgManage";
repo = "pgManage"; repo = "pgManage";
inherit rev; rev = "a028604416be382d6d310bc68b4e7c3cd16020fb";
sha256 = "sha256-ibCzZrqfbio1wBVFKB6S/wdRxnCc7s3IQdtI9txxhaM="; sha256 = "sha256-ibCzZrqfbio1wBVFKB6S/wdRxnCc7s3IQdtI9txxhaM=";
}; };