Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresqlPackages.pgjwt: unstable-2021-11-13 -> unstable-2023-03-02 #254474

Merged
merged 1 commit into from
Sep 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions pkgs/servers/sql/postgresql/ext/pgjwt.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, postgresql }:
{ lib, stdenv, fetchFromGitHub, postgresql, unstableGitUpdater }:

stdenv.mkDerivation {
pname = "pgjwt";
version = "unstable-2021-11-13";
version = "unstable-2023-03-02";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we actually do two versions og pgjwt, stable and unstable like a lot of other releases do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, upstream doesn't create releases michelp/pgjwt#5


src = fetchFromGitHub {
owner = "michelp";
repo = "pgjwt";
rev = "9742dab1b2f297ad3811120db7b21451bca2d3c9";
sha256 = "sha256-Hw3R9bMGDmh+dMzjmqZSy/rT4mX8cPU969OJiARFg10=";
rev = "f3d82fd30151e754e19ce5d6a06c71c20689ce3d";
sha256 = "sha256-nDZEDf5+sFc1HDcG2eBNQj+kGcdAYRXJseKi9oww+JU=";
};

dontBuild = true;
Expand All @@ -17,6 +17,8 @@ stdenv.mkDerivation {
cp pg*sql *.control $out/share/postgresql/extension
'';

passthru.updateScript = unstableGitUpdater { };

meta = with lib; {
description = "PostgreSQL implementation of JSON Web Tokens";
longDescription = ''
Expand Down