nixpkgs/pkgs/development/python-modules/metaphone/default.nix
2020-04-10 17:54:53 +01:00

24 lines
575 B
Nix

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