1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/python-modules/metaphone/default.nix
Frederik Rietdijk 0470591687 python.pkgs.metaphone: fix pname
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.
2018-11-21 12:50:56 +01:00

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