anchor.diff:      ./autogen.sh
   
       # Fix the python site-packages install directory
  -    sed -i "s,\(PYTHON\(\|_EXEC\)_PREFIX=\).*,\1'$lib',g" configure
  -
  -    # Fix the PYTHONPATH for installing ceph-detect-init to $out
  -    mkdir -p "$(toPythonPath $out)"
  -    export PYTHONPATH="$(toPythonPath $out):$PYTHONPATH"
  +    sed -i "s,\$PYTHON\(_EXEC\)\?_PREFIX,$lib,g" configure
     '';
   
     configureFlags = [
  
positive.code:     done
    '';
  
    meta = with stdenv.lib; {
      description = "Distributed storage system";
      homepage = https://ceph.com/;
  
negative.code:     inherit rev sha256;
    };
  
    patches = optionals (versionOlder version "9.0.0") [
      (fetchTritonPatch {
        rev = "3e20a6c39775b724eff44af93f08b38205be1f5b";
        file = "ceph/fix-pgrefdebugging.patch";
        sha256 = "11xn226mlzh6c13j9h1xavr9pnnfvkykkxzmf7c0w7hqm3w8r0gs";
      })
    ];
  
  