diff --git a/pkgs/development/python-modules/standard-mailcap/default.nix b/pkgs/development/python-modules/standard-mailcap/default.nix new file mode 100644 index 00000000000000..1077eec6e71fe2 --- /dev/null +++ b/pkgs/development/python-modules/standard-mailcap/default.nix @@ -0,0 +1,25 @@ +{ + buildPythonPackage, + pythonOlder, + fetchPypi, + lib, + setuptools, +}: +buildPythonPackage rec { + pname = "standard-mailcap"; + version = "3.13.0"; + disabled = pythonOlder "3.13"; + src = fetchPypi { + pname = "standard_mailcap"; + inherit version; + hash = "sha256-Ge15VdvqzLNei7BbK1RDzlXB+TKoy+elwT1C+dtPSZo="; + }; + pyproject = true; + build-system = [ setuptools ]; + meta = { + description = "Standard library mailcap redistribution"; + homepage = "https://github.com/youknowone/python-deadlib"; + license = lib.licenses.psfl; + maintainers = [ lib.maintainers.lucc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d7544beb631aac..d42e89826d41af 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15371,6 +15371,8 @@ self: super: with self; { stamina = callPackage ../development/python-modules/stamina { }; + standard-mailcap = callPackage ../development/python-modules/standard-mailcap { }; + stanio = callPackage ../development/python-modules/stanio { }; stanza = callPackage ../development/python-modules/stanza { };