summary refs log tree commit diff
path: root/pkgs/development/python-modules/metaphone/default.nix
blob: e167ee494a82d9e942a92626e98f686c00d036b2 (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
{ stdenv, buildPythonPackage, isPy3k, fetchPypi, nose }:

buildPythonPackage rec {
  pname = "metaphone";
  version = "0.6";

  src = fetchPypi {
    pname = "Metaphone";
    inherit version;
    sha256 = "09ysaczwh2rlsqq9j5fz7m4pq2fs0axp5vvivrpfrdvclvffl2xd";
  };

  disabled = isPy3k;

  buildInputs = [ nose ];

  meta = with stdenv.lib; {
    homepage = https://github.com/oubiwann/metaphone;
    description = "A Python implementation of the metaphone and double metaphone algorithms";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ris ];
  };
}