summary refs log tree commit diff
path: root/pkgs/development/python-modules/text-unidecode/default.nix
blob: 5f5a0bf851275dac97016eeec93f23f5a8609c7a (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.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93";
  };

  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;
  };
}