File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 10
10
, jq
11
11
} :
12
12
13
- let
14
- gitTags = builtins . fromJSON ( builtins . readFile ( builtins . fetchurl {
15
- url = "https://api.github.com/repos/supabase/wrappers/tags" ;
16
- sha256 = "0pvavn0f8wnaszq4bmvjkadm6xbvf91rbhcmmgjasqajb69vskv9" ; # Replace with actual hash
17
- } ) ) ;
18
- in
19
13
buildPgrxExtension_0_11_3 rec {
20
14
pname = "supabase-wrappers" ;
21
15
version = "0.4.1" ;
22
- # update this when the wrappers version is updated
16
+ # update the following array when the wrappers version is updated
23
17
# required to ensure that extensions update scripts from previous versions are generated
24
18
previousVersions = [ "0.4.0" "0.3.1" "0.3.0" "0.2.0" "0.1.19" "0.1.18" "0.1.17" "0.1.16" "0.1.15" "0.1.14" "0.1.12" "0.1.11" "0.1.10" "0.1.9" "0.1.8" "0.1.7" "0.1.6" "0.1.5" "0.1.4" "0.1.1" "0.1.0" ] ;
25
19
inherit postgresql ;
@@ -29,7 +23,7 @@ buildPgrxExtension_0_11_3 rec {
29
23
rev = "v${ version } " ;
30
24
hash = "sha256-AU9Y43qEMcIBVBThu+Aor1HCtfFIg+CdkzK9IxVdkzM=" ;
31
25
} ;
32
- nativeBuildInputs = [ pkg-config cargo jq ] ;
26
+ nativeBuildInputs = [ pkg-config cargo ] ;
33
27
buildInputs = [ openssl ] ++ lib . optionals ( stdenv . isDarwin ) [
34
28
darwin . apple_sdk . frameworks . CoreFoundation
35
29
darwin . apple_sdk . frameworks . Security
@@ -65,7 +59,7 @@ buildPgrxExtension_0_11_3 rec {
65
59
66
60
preBuild = ''
67
61
echo "Processing git tags..."
68
- echo '${ builtins . concatStringsSep "," previousVersions } ' | sed 's/,/\n/g' > git_tags.txt
62
+ echo '${ builtins . concatStringsSep "," previousVersions } ' | sed 's/,/\n/g' > git_tags.txt
69
63
'' ;
70
64
71
65
postInstall = ''
You can’t perform that action at this time.
0 commit comments