diff --git a/flake.nix b/flake.nix index 3becf22a..aa3b53bd 100644 --- a/flake.nix +++ b/flake.nix @@ -41,10 +41,12 @@ perlPackages = prev.perlPackages // { TestPostgreSQL = final.perlPackages.buildPerlModule { pname = "Test-PostgreSQL"; - version = "1.27"; - src = final.fetchurl { - url = "mirror://cpan/authors/id/T/TJ/TJC/Test-PostgreSQL-1.27.tar.gz"; - sha256 = "b1bd231693100cc40905fb0ba3173173201621de9c8301f21c5b593b0a46f907"; + version = "1.28-1"; + src = final.fetchFromGitHub { + owner = "grahamc"; + repo = "Test-postgresql"; + rev = "release-1.28-1"; + hash = "sha256-SFC1C3q3dbcBos18CYd/s0TIcfJW4g04ld0+XQXVToQ="; }; buildInputs = with final.perlPackages; [ ModuleBuildTiny TestSharedFork pkgs.postgresql ]; propagatedBuildInputs = with final.perlPackages; [ DBDPg DBI FileWhich FunctionParameters Moo TieHashMethod TryTiny TypeTiny ]; @@ -52,7 +54,7 @@ makeMakerFlags = "POSTGRES_HOME=${final.postgresql}"; meta = { - homepage = https://github.com/TJC/Test-postgresql; + homepage = "https://github.com/grahamc/Test-postgresql/releases/tag/release-1.28-1"; description = "PostgreSQL runner for tests"; license = with final.lib.licenses; [ artistic2 ]; };