anchor.diff:    meta = {
       description = "Free Software EDA Suite";
       homepage = http://www.kicad-pcb.org/;
  -    license = [ licenses.gpl2 ] ++ optional (withLibraries || with3DPackages) licenses.cc-by-sa-40;
  +    license = licenses.gpl2;
       maintainers = with maintainers; [ berce ];
       platforms = with platforms; linux;
     };
  
positive.code:   # this breaks other applications in kicad
    dontWrapGApps = true;
  
    i18n = (mkLib version "i18n" "1hkc240gymhmyv6r858mq5d2slz0vjqc47ah8wn82vvmb83fpnjy").overrideAttrs (_: {
      buildInputs = [
        gettext
      ];
    });
  
    symbols = mkLib version "symbols" "1rjh2pjcrc3bhcgyyskj5pssm7vffrjk0ymwr70fb7sjpmk96yjk";
  
    footprints = mkLib version "footprints" "19khqyrbrqsdzxvm1b1vxfscxhss705fqky0ilrbvnbvf27fnx8w";
  
    templates = mkLib version "templates" "0rlzq1n09n0sf2kj5c9bvbnkvs6cpycjxmxwcswql0fbpcp0sql7";
  
    packages3d = (mkLib version "packages3d" "135jyrljgknnv2y35skhnwcxg16yxxkfbcx07nad3vr4r76zk3am").overrideAttrs (_: {
      hydraPlatforms = []; # Disable big package3d library
      preferLocalBuild = true;
    });
  
    postInstall = ''
      lndir -silent $i18n/share $out/share
    '' + optionalString withLibraries ''
      lndir -silent $symbols/share $out/share
      lndir -silent $footprints/share $out/share
      lndir -silent $templates/share $out/share
    '' + optionalString with3DPackages ''
      lndir -silent $packages3d/share $out/share
    '';
  
    preFixup = ''
  
negative.code:     nativeBuildInputs = [
        cmake
      ];
    } // attrs);
  
  in stdenv.mkDerivation rec {
    name = "kicad-${version}";
  