1{ stdenv, buildPythonPackage, isPy3k, fetchPypi, nose }: 2 3buildPythonPackage rec { 4 pname = "Metaphone"; 5 version = "0.6"; 6 name = "metaphone-${version}"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "09ysaczwh2rlsqq9j5fz7m4pq2fs0axp5vvivrpfrdvclvffl2xd"; 11 }; 12 13 disabled = isPy3k; 14 15 buildInputs = [ nose ]; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/oubiwann/metaphone; 19 description = "A Python implementation of the metaphone and double metaphone algorithms"; 20 license = licenses.bsd3; 21 maintainers = with maintainers; [ ris ]; 22 }; 23}