anchor.diff:      homepage    = "https://ccl.clozure.com/";
       maintainers = with maintainers; [ raskin muflax tohl ];
       platforms   = attrNames options;
  -    license     = licenses.lgpl21;
  +    license     = licenses.asl20;
     };
   }
  
positive.code:     };
      armv7l-linux = {
        arch = "linuxarm";
        sha256 = "0p0l1dzsygb6i1xxgbipjpxkn46xhq3jm41a34ga1qqp4x8lkr62";
        runtime = "armcl";
        kernel = "linuxarm";
      };
      x86_64-darwin = {
        arch = "darwinx86";
        sha256 = "5adbea3d8b4a2e29af30d141f781c6613844f468c0ccfa11bae908c3e9641939";
        runtime = "dx86cl64";
        kernel = "darwinx8664";
      };
      armv6l-linux = armv7l-linux;
    };
    cfg = options.${stdenv.hostPlatform.system} or (throw "missing source url for platform ${stdenv.hostPlatform.system}");
  in
  
  stdenv.mkDerivation rec {
    pname = "ccl";
    version  = "1.11.5";
  
    src = fetchurl {
      url = "https://github.com/Clozure/ccl/releases/download/v${version}/ccl-${version}-${cfg.arch}.tar.gz";
      sha256 = cfg.sha256;
    };
  
negative.code: { stdenv, fetchurl, runCommand, bootstrap_cmds, coreutils, glibc, m4, runtimeShell }:
  
  let
    options = rec {
      /* TODO: there are also FreeBSD and Windows versions */
      x86_64-linux = {
        arch = "linuxx86";
        sha256 = "0d5bsizgpw9hv0jfsf4bp5sf6kxh8f9hgzz9hsjzpfhs3npmmac4";
        runtime = "lx86cl64";
        kernel = "linuxx8664";
      };
  