Files
nixpkgs/pkgs/development/python-modules/mailcap-fix/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

23 lines
456 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "mailcap-fix";
version = "1.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "02lijkq6v379r8zkqg9q2srin3i80m4wvwik3hcbih0s14v0ng0i";
};
meta = {
description = "Patched mailcap module that conforms to RFC 1524";
homepage = "https://github.com/michael-lazar/mailcap_fix";
license = lib.licenses.unlicense;
};
}