git.iko.soy/typeable/nixpkgs
on master help sign in
calc: specify license
commita3343fc6b9414dc16a7b499131d9324b7199ce93 authorFabian Affolter <mail@fabian-affolter.ch> dateMon 22 Feb 2021, 19:05 (6 years ago) parent550833b
1 file changed+3−1
pkgs/applications/science/math/calc/default.nix+3−1
pkgs/applications/science/math/calc/default.nix+3−1
@@ -41,7 +41,9 @@ stdenv.mkDerivation rec {
4141 meta = with lib; {
4242 description = "C-style arbitrary precision calculator";
4343 homepage = "http://www.isthe.com/chongo/tech/comp/calc/";
44− license = licenses.lgpl21Only;
44+ # The licensing situation depends on readline (see section 3 of the LGPL)
45+ # If linked against readline then GPLv2 otherwise LGPLv2.1
46+ license = with licenses; if enableReadline then gpl2Only else lgpl21Only;
4547 maintainers = with maintainers; [ matthewbauer ];
4648 platforms = platforms.all;
4749 };