1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy36 5}: 6 7buildPythonPackage rec { 8 pname = "mailcap-fix"; 9 version = "1.0.1"; 10 disabled = isPy36; # this fix is merged into python 3.6 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "02lijkq6v379r8zkqg9q2srin3i80m4wvwik3hcbih0s14v0ng0i"; 15 }; 16 17 meta = with lib; { 18 description = "A patched mailcap module that conforms to RFC 1524"; 19 homepage = "https://github.com/michael-lazar/mailcap_fix"; 20 license = licenses.unlicense; 21 }; 22 23}