python3Packages.categorical-distance: init at 1.9-unstable-2020-03-31
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
unstableGitUpdater,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "categorical-distance";
|
||||
version = "1.9-unstable-2020-03-31";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dedupeio";
|
||||
repo = "categorical-distance";
|
||||
rev = "07d079fd412ccf06cdb200b3cd2cfa4b67f78722";
|
||||
hash = "sha256-zSjSrlFiRus/T2XZdakLQpF1u/LV0VNWwrc8lhss6kU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"categorical"
|
||||
];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Compare similarity of categorical variables using Jaccard index";
|
||||
homepage = "https://github.com/dedupeio/categorical-distance";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ daniel-fahey ];
|
||||
};
|
||||
}
|
||||
@@ -2397,6 +2397,8 @@ self: super: with self; {
|
||||
};
|
||||
};
|
||||
|
||||
categorical-distance = callPackage ../development/python-modules/categorical-distance { };
|
||||
|
||||
catkin-pkg = callPackage ../development/python-modules/catkin-pkg { };
|
||||
|
||||
catppuccin = callPackage ../development/python-modules/catppuccin { };
|
||||
|
||||
Reference in New Issue
Block a user