2018-02-20 21:37:35 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "text-unidecode";
|
2018-02-26 17:47:10 +00:00
|
|
|
version = "1.2";
|
2018-02-20 21:37:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 17:47:10 +00:00
|
|
|
sha256 = "5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d";
|
2018-02-20 21:37:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The most basic Text::Unidecode port";
|
|
|
|
homepage = https://github.com/kmike/text-unidecode;
|
|
|
|
license = licenses.artistic1;
|
|
|
|
};
|
|
|
|
}
|