depot/third_party/nixpkgs/pkgs/development/python-modules/metaphone/default.nix

24 lines
575 B
Nix
Raw Normal View History

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