Merge: cargo-pgrx: prevent update of pinned versions (#426663)

authored by Maximilian Bosch and committed by GitHub a056129f f59f35da

+21 -18
+1 -18
pkgs/development/tools/rust/cargo-pgrx/default.nix
··· 56 56 }; 57 57 in 58 58 { 59 - cargo-pgrx_0_12_0_alpha_1 = generic { 60 - version = "0.12.0-alpha.1"; 61 - hash = "sha256-0m9oaqjU42RYyttkTihADDrRMjr2WoK/8sInZALeHws="; 62 - cargoHash = "sha256-zYjqE7LZLnTaVxWAPWC1ncEjCMlrhy4THtgecB7wBYY="; 63 - }; 64 - 65 - cargo-pgrx_0_12_6 = generic { 66 - version = "0.12.6"; 67 - hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA="; 68 - cargoHash = "sha256-pnMxWWfvr1/AEp8DvG4awig8zjdHizJHoZ5RJA8CL08="; 69 - }; 70 - 71 - cargo-pgrx_0_14_1 = generic { 72 - version = "0.14.1"; 73 - hash = "sha256-oMToAhKkRiCyC8JYS0gmo/XX3QVcVtF5mUV0aQjd+p8="; 74 - cargoHash = "sha256-RawGAQGtG2QVDCMbwjmUEaH6rDeRiBvvJsGCY8wySw0="; 75 - }; 76 - 77 59 # Default version for direct usage. 78 60 # Not to be used with buildPgrxExtension, where it should be pinned. 79 61 # When you make an extension use the latest version, *copy* this to a separate pinned attribute. ··· 83 65 cargoHash = "sha256-c+n1bJMO9254kT4e6exVNhlIouzkkzrRIOVzR9lZeg4="; 84 66 }; 85 67 } 68 + // lib.mapAttrs (_: generic) (import ./pinned.nix)
+20
pkgs/development/tools/rust/cargo-pgrx/pinned.nix
··· 1 + # nixpkgs-update: no auto update 2 + { 3 + cargo-pgrx_0_12_0_alpha_1 = { 4 + version = "0.12.0-alpha.1"; 5 + hash = "sha256-0m9oaqjU42RYyttkTihADDrRMjr2WoK/8sInZALeHws="; 6 + cargoHash = "sha256-zYjqE7LZLnTaVxWAPWC1ncEjCMlrhy4THtgecB7wBYY="; 7 + }; 8 + 9 + cargo-pgrx_0_12_6 = { 10 + version = "0.12.6"; 11 + hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA="; 12 + cargoHash = "sha256-pnMxWWfvr1/AEp8DvG4awig8zjdHizJHoZ5RJA8CL08="; 13 + }; 14 + 15 + cargo-pgrx_0_14_1 = { 16 + version = "0.14.1"; 17 + hash = "sha256-oMToAhKkRiCyC8JYS0gmo/XX3QVcVtF5mUV0aQjd+p8="; 18 + cargoHash = "sha256-RawGAQGtG2QVDCMbwjmUEaH6rDeRiBvvJsGCY8wySw0="; 19 + }; 20 + }