python3Packages.simplecosine: init at 1.2
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplecosine";
|
||||
version = "1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dedupeio";
|
||||
repo = "simplecosine";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TNQnSbCh7o5JsxvfljRGSNwptwpLHmVw9gyk0TELDek=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"simplecosine"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Simple cosine distance calculation for string comparison";
|
||||
homepage = "https://github.com/dedupeio/simplecosine";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ daniel-fahey ];
|
||||
};
|
||||
}
|
||||
@@ -16852,6 +16852,8 @@ self: super: with self; {
|
||||
|
||||
simplebayes = callPackage ../development/python-modules/simplebayes { };
|
||||
|
||||
simplecosine = callPackage ../development/python-modules/simplecosine { };
|
||||
|
||||
simpleeval = callPackage ../development/python-modules/simpleeval { };
|
||||
|
||||
simplefin4py = callPackage ../development/python-modules/simplefin4py { };
|
||||
|
||||
Reference in New Issue
Block a user