anchor.diff:    meta = with lib; {
       description = "Library to implement a well-behaved Unix daemon process";
       homepage = "https://pagure.io/python-daemon/";
  -    license = with licenses; [
  -      gpl3Plus
  -      asl20
  -    ];
  +    # See "Copying" section in https://pagure.io/python-daemon/blob/main/f/README
  +    license = with licenses; [ gpl3Plus asl20 ];
       maintainers = with maintainers; [ ];
     };
   }
  
positive.code:   ];
  
    checkInputs = [
      pytest_4
      mock
      testscenarios
      testtools
    ];
  
    # tests disabled due to incompatibilities with testtools>=2.5.0
    checkPhase = ''
      runHook preCheck
      pytest -k ' \
        not detaches_process_context and \
        not standard_stream_file_descriptors and \
        not test_module_has_attribute and \
        not test_module_attribute_has_duck_type'
      runHook postCheck
    '';
  
    pythonImportsCheck = [
      "daemon"
  
negative.code: , fetchPypi
  , docutils
  , lockfile
  , pytestCheckHook
  , testscenarios
  , testtools
  , twine
  , python
  , pythonOlder
  , fetchpatch
  }:
  
  buildPythonPackage rec {
    pname = "python-daemon";
    version = "2.3.0";
    format = "setuptools";
  
    disabled = pythonOlder "3.7";
  
    src = fetchPypi {
      inherit pname version;
  