summary refs log tree commit diff
path: root/pkgs/development/libraries/gmp
diff options
context:
space:
mode:
authorArthur Gautier <arthur.gautier@arista.com>2022-11-13 22:27:20 +0000
committerGitHub <noreply@github.com>2022-11-13 17:27:20 -0500
commit63a7d5b3fb72a7dac5116e10dd7d9c9b3ec6b148 (patch)
tree357766ba6558cacccd4c54dbe6e71495428a4fed /pkgs/development/libraries/gmp
parentdecf24d67089564c83a77f644bf2966fb1fb032f (diff)
gmp: fixup license of v6 (#199052)
* gmp: fixup license of v6

As per https://gmplib.org/:
```
Since version 6, GMP is distributed under the dual licenses, GNU LGPL v3 and GNU GPL v2. These licenses make the library free to use, share, and improve, and allow you to pass on the result. The GNU licenses give freedoms, but also set firm restrictions on the use with non-free programs.
```

The license changed in GMP v6.

* Fixup license versions
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r--pkgs/development/libraries/gmp/6.x.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix
index 9d8a1c03accd6..7857bfa0e3557 100644
--- a/pkgs/development/libraries/gmp/6.x.nix
+++ b/pkgs/development/libraries/gmp/6.x.nix
@@ -61,7 +61,10 @@ let self = stdenv.mkDerivation rec {
   meta = with lib; {
     homepage = "https://gmplib.org/";
     description = "GNU multiple precision arithmetic library";
-    license = licenses.gpl3Plus;
+    license = with licenses; [
+      lgpl3Only
+      gpl2Only
+    ];
 
     longDescription =
       '' GMP is a free library for arbitrary precision arithmetic, operating