nixpkgs-suyu/pkgs/development/python-modules/text-unidecode/default.nix

24 lines
497 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "text-unidecode";
2018-02-26 18:47:10 +01:00
version = "1.2";
src = fetchPypi {
inherit pname version;
2018-02-26 18:47:10 +01:00
sha256 = "5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d";
};
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;
};
}