2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 18:55:40 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy36
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mailcap-fix";
|
|
|
|
version = "1.0.1";
|
|
|
|
disabled = isPy36; # this fix is merged into python 3.6
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "02lijkq6v379r8zkqg9q2srin3i80m4wvwik3hcbih0s14v0ng0i";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 18:55:40 +00:00
|
|
|
description = "A patched mailcap module that conforms to RFC 1524";
|
|
|
|
homepage = "https://github.com/michael-lazar/mailcap_fix";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|