anchor.diff:  , openssl
   }:
   
  -stdenv.mkDerivation {
  -  name = "tlsdate-0.0.12";
  +stdenv.mkDerivation rec {
  +  version = "0.0.13";
  +  name = "tlsdate-${version}";
   
  -  src = fetchgit {
  -    url = https://github.com/ioerror/tlsdate;
  -    rev = "fd04f48ed60eb773c8e34d27ef2ee12ee7559a41";
  -    sha256 = "0naxlsanpgixj509z4mbzl41r2nn5wi6q2lp10a7xgcmcb4cgnbf";
  +  src = fetchFromGitHub {
  +    owner = "ioerror";
  +    repo = "tlsdate";
  +    rev = name;
  +    sha256 = "0w3v63qmbhpqlxjsvf4k3zp90k6mdzi8cdpgshan9iphy1f44xgl";
     };
  +
  +  patches = [
  +    (fetchpatch {
  +      name = "tlsdate-no_sslv3.patch";
  +      url = "https://github.com/ioerror/tlsdate/commit/f9d3cba7536d1679e98172ccbddad32bc9ae490c.patch";
  +      sha256 = "0prv46vxvb4paxaswmc6ix0kd5sp0552i5msdldnhg9fysbac8s0";
  +    })
  +  ];
   
     buildInputs = [
       autoconf
  
positive.code: { stdenv, fetchgit
  , autoconf
  , automake
  , libevent
  
negative.code: 
    doCheck = true;
  
    meta = with stdenv.lib; {
      description = "Secure parasitic rdate replacement";
      homepage = https://github.com/ioerror/tlsdate;
      maintainers = with maintainers; [ tv fpletz ];
      platforms = platforms.allBut [ "darwin" ];
    };
  }
  