3
0
Fork 0
forked from mirrors/nixpkgs

mongodb_3_4: fix license

As noted in #83433, the 3.4 branch of `mongodb` is still licensed under
AGPL[1].

[1] https://github.com/mongodb/mongo/blob/r3.4.24/README
This commit is contained in:
Maximilian Bosch 2020-04-21 17:34:13 +02:00
parent 68684b6376
commit 25b9bca759
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 5 additions and 2 deletions

View file

@ -6,7 +6,9 @@
with stdenv.lib;
{ version, sha256, patches ? [] }@args:
{ version, sha256, patches ? []
, license ? stdenv.lib.licenses.sspl
}@args:
let
python = python27.withPackages (ps: with ps; [ pyyaml typing cheetah ]);
@ -109,7 +111,7 @@ in stdenv.mkDerivation rec {
meta = {
description = "A scalable, high-performance, open source NoSQL database";
homepage = "http://www.mongodb.org";
license = licenses.sspl;
inherit license;
maintainers = with maintainers; [ bluescreen303 offline cstrahan ];
platforms = subtractLists systems.doubles.i686 systems.doubles.unix;

View file

@ -12,4 +12,5 @@ in buildMongoDB {
version = "3.4.24";
sha256 = "0j6mvgv0jnsnvgkl8505bl88kbxkba66qijlpi1la0dd5pd1imfr";
patches = [ ./forget-build-dependencies-3-4.patch ];
license = stdenv.lib.licenses.agpl3;
}