mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-16 13:00:41 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
665 B
Nix
29 lines
665 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, numpy
|
|
, six
|
|
, nose
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py_stringmatching";
|
|
version = "0.4.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c87f62698fba1612a18f8f44bd57f0c4e70aac2d7ca6dfb6ed46dabd2194453c";
|
|
};
|
|
|
|
nativeCheckInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ numpy six ];
|
|
|
|
meta = with lib; {
|
|
description = "A Python string matching library including string tokenizers and string similarity measures";
|
|
homepage = "https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ixxie ];
|
|
};
|
|
}
|