summary refs log tree commit diff
path: root/pkgs/development/python-modules/text-unidecode/default.nix
blob: 94aebc59512330411f2deb03afbf62097aa2836a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "text-unidecode";
  version = "1.2";

  src = fetchPypi {
    inherit pname version;
    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;
  };
}