diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-22 19:05:57 +0100 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2021-02-22 14:21:33 -0500 |
commit | a3343fc6b9414dc16a7b499131d9324b7199ce93 (patch) | |
tree | e5ab3b671da4abd5ac11be03a87a53bab24339b0 /pkgs | |
parent | 550833b7f0d7bbcacaa8d788e1ce24c248b53062 (diff) |
calc: specify license
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/math/calc/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/calc/default.nix b/pkgs/applications/science/math/calc/default.nix index 086f23d528a79..db6cf2600c360 100644 --- a/pkgs/applications/science/math/calc/default.nix +++ b/pkgs/applications/science/math/calc/default.nix @@ -41,7 +41,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "C-style arbitrary precision calculator"; homepage = "http://www.isthe.com/chongo/tech/comp/calc/"; - license = licenses.lgpl21Only; + # The licensing situation depends on readline (see section 3 of the LGPL) + # If linked against readline then GPLv2 otherwise LGPLv2.1 + license = with licenses; if enableReadline then gpl2Only else lgpl21Only; maintainers = with maintainers; [ matthewbauer ]; platforms = platforms.all; }; |