nixpkgs/pkgs/development/python-modules/text-unidecode/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

29 lines
529 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "text-unidecode";
version = "1.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = {
description = "Most basic Text::Unidecode port";
homepage = "https://github.com/kmike/text-unidecode";
license = lib.licenses.artistic1;
};
}