anchor.diff:      nativeBuildInputs = [
         cmake
       ];
  -  };
  +  } // attrs);
   
   in stdenv.mkDerivation rec {
     name = "kicad-${version}";
  
positive.code: , oceSupport ? true, opencascade
  , ngspiceSupport ? true, libngspice
  , swig, python, pythonPackages
  , lndir, withLibraries ? true, with3DPackages ? false
  }:
  
  assert ngspiceSupport -> libngspice != null;
  
  with lib;
  let
    mkLib = version: name: sha256: stdenv.mkDerivation {
      name = "kicad-${name}-${version}";
      src = fetchFromGitHub {
        owner = "KiCad";
  
negative.code:   meta = {
      description = "Free Software EDA Suite";
      homepage = http://www.kicad-pcb.org/;
      license = licenses.gpl2;
      maintainers = with maintainers; [ berce ];
      platforms = with platforms; linux;
    };
  