nixpkgs/pkgs/development/python-modules/textwrap3/default.nix
Ihar Hrachyshka 567e8dfd8e
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 18:09:49 +01:00

27 lines
572 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "textwrap3";
version = "0.9.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Textwrap from Python 3.6 backport plus a few tweaks";
homepage = "https://github.com/jonathaneunice/textwrap3";
license = lib.licenses.psfl;
maintainers = [ ];
};
}