mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
0470591687
This is a proper fix for 2224d42e02
.
The pname is used by fetchPypi, so you can't just modify it
and expect fetching to still work.
24 lines
573 B
Nix
24 lines
573 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 ];
|
|
};
|
|
}
|