anchor.diff:        --replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \
         --replace "sortedcontainers==2.3.0" "sortedcontainers>=2.3.0" \
         --replace "click==7.1.2" "click>=7.1.2" \
  -      --replace "clvm_rs==0.1.8" "clvm_rs>=0.1.8" \
         --replace "clvm==0.9.7" "clvm>=0.9.7" \
  -      --replace "bitstring==3.1.7" "bitstring>=3.1.9" \
   
       ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt mozilla-ca/cacert.pem
     '';
  
positive.code: 
  python3Packages.buildPythonApplication rec {
    pname = "chia";
    version = "1.2.3";
  
    src = fetchFromGitHub {
      owner = "Chia-Network";
      repo = "chia-blockchain";
      rev = version;
      fetchSubmodules = true;
      sha256 = "sha256-nK/Zk2zgIdrRtw3+VkUXQWfI9j29XFDOR95Dvbn07eA=";
    };
  
    patches = [
  
negative.code:     clvm
      clvm-rs
      clvm-tools
      colorama
      colorlog
      concurrent-log-handler
      cryptography
      dnspython
      fasteners
      keyrings-cryptfile
      pyyaml
      setproctitle
      setuptools # needs pkg_resources at runtime
      sortedcontainers
      watchdog
      websockets
    ];
  
  