1{ lib, buildPythonPackage, fetchPypi, pytest }:
2
3buildPythonPackage rec {
4 pname = "text-unidecode";
5 version = "1.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d";
10 };
11
12 checkInputs = [ pytest ];
13
14 checkPhase = ''
15 py.test
16 '';
17
18 meta = with lib; {
19 description = "The most basic Text::Unidecode port";
20 homepage = https://github.com/kmike/text-unidecode;
21 license = licenses.artistic1;
22 };
23}