anchor.diff:    preCheck = ''
       # Fixes two tests for wrong encoding
       export PYTHONIOENCODING=utf-8
  -
  -    ### Remove this for 3.1 ###
  -    # See https://github.com/jarun/Buku/pull/167 (merged)
  -    substituteInPlace setup.py \
  -      --replace "hypothesis==3.7.0" "hypothesis>=3.7.0"
   
       # Disables a test which requires internet
       substituteInPlace tests/test_bukuDb.py \
  
positive.code:     pytest-catchlog
      hypothesis
      pytest
    ];
  
    propagatedBuildInputs = [
  
negative.code: { stdenv, python3, fetchFromGitHub }:
  
  with python3.pkgs; buildPythonApplication rec {
    version = "3.3.1";
    name = "buku-${version}";
  
    src = fetchFromGitHub {
      owner = "jarun";
      repo = "buku";
      rev = "v${version}";
      sha256 = "1byq8jgv1rb67ygibk0vzgz5ri1il4q4hpg23z5q0ml27fif9hw3";
    };
  
    nativeBuildInputs = [
  