Merge pull request #207382 from wegank/mongodb

authored by Sandro and committed by GitHub 407160f7 ec75c326

+3 -57
-4
nixos/tests/mongodb.nix
··· 33 33 nodes = { 34 34 node = {...}: { 35 35 environment.systemPackages = with pkgs; [ 36 - mongodb-3_4 37 - mongodb-3_6 38 36 mongodb-4_0 39 37 mongodb-4_2 40 38 mongodb-4_4 ··· 46 44 testScript = '' 47 45 node.start() 48 46 '' 49 - + runMongoDBTest pkgs.mongodb-3_4 50 - + runMongoDBTest pkgs.mongodb-3_6 51 47 + runMongoDBTest pkgs.mongodb-4_0 52 48 + runMongoDBTest pkgs.mongodb-4_2 53 49 + runMongoDBTest pkgs.mongodb-4_4
-16
pkgs/servers/nosql/mongodb/v3_4.nix
··· 1 - { callPackage, lib, sasl, boost, Security, CoreFoundation, cctools }: 2 - 3 - let 4 - buildMongoDB = callPackage ./mongodb.nix { 5 - inherit sasl; 6 - inherit boost; 7 - inherit Security; 8 - inherit CoreFoundation; 9 - inherit cctools; 10 - }; 11 - in buildMongoDB { 12 - version = "3.4.24"; 13 - sha256 = "0j6mvgv0jnsnvgkl8505bl88kbxkba66qijlpi1la0dd5pd1imfr"; 14 - patches = [ ./forget-build-dependencies-3-4.patch ]; 15 - license = lib.licenses.agpl3; 16 - }
-22
pkgs/servers/nosql/mongodb/v3_6.nix
··· 1 - { stdenv, callPackage, fetchpatch, lib, sasl, boost, Security, CoreFoundation, cctools }: 2 - 3 - let 4 - buildMongoDB = callPackage ./mongodb.nix { 5 - inherit sasl; 6 - inherit boost; 7 - inherit Security; 8 - inherit CoreFoundation; 9 - inherit cctools; 10 - }; 11 - in buildMongoDB { 12 - version = "3.6.23"; 13 - sha256 = "sha256-EJpIerW4zcGJvHfqJ65fG8yNsLRlUnRkvYfC+jkoFJ4="; 14 - patches = [ ./forget-build-dependencies.patch ] 15 - ++ lib.optionals stdenv.isDarwin [ 16 - (fetchpatch { 17 - name = "fix double link of isNamedError."; 18 - url = "https://github.com/mongodb/mongo/commit/9c6751b9765d269b667324bb2efe1ca76a916d20.patch"; 19 - sha256 = "sha256-4mcafqhBh7039ocEI9d/gXWck51X68PqtWtz4dapwwI="; 20 - }) 21 - ]; 22 - }
+2
pkgs/top-level/aliases.nix
··· 953 953 moby = throw "moby has been removed, merged into linuxkit in 2018. Use linuxkit instead"; 954 954 module_init_tools = throw "'module_init_tools' has been renamed to/replaced by 'kmod'"; # Converted to throw 2022-02-22 955 955 monero = monero-cli; # Added 2021-11-28 956 + mongodb-3_4 = throw "mongodb-3_4 has been removed, it's end of life since January 2020"; # Added 2022-11-30 957 + mongodb-3_6 = throw "mongodb-3_6 has been removed, it's end of life since April 2021"; # Added 2022-11-30 956 958 monodevelop = throw "monodevelop has been removed from nixpkgs"; # Added 2022-01-15 957 959 mopidy-gmusic = throw "mopidy-gmusic has been removed because Google Play Music was discontinued"; # Added 2021-03-07 958 960 mopidy-local-images = throw "mopidy-local-images has been removed as it's unmaintained. Its functionality has been merged into the mopidy-local extension"; # Added 2020-10-18
+1 -15
pkgs/top-level/all-packages.nix
··· 24433 24433 mariadb = mariadb_106; 24434 24434 mariadb-embedded = mariadb.override { withEmbedded = true; }; 24435 24435 24436 - mongodb = hiPrio mongodb-3_4; 24437 - 24438 - mongodb-3_4 = callPackage ../servers/nosql/mongodb/v3_4.nix { 24439 - sasl = cyrus_sasl; 24440 - boost = boost160; 24441 - inherit (darwin) cctools; 24442 - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 24443 - }; 24444 - 24445 - mongodb-3_6 = callPackage ../servers/nosql/mongodb/v3_6.nix { 24446 - sasl = cyrus_sasl; 24447 - boost = boost160; 24448 - inherit (darwin) cctools; 24449 - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 24450 - }; 24436 + mongodb = hiPrio mongodb-6_0; 24451 24437 24452 24438 mongodb-4_0 = callPackage ../servers/nosql/mongodb/v4_0.nix { 24453 24439 sasl = cyrus_sasl;