python3Packages.categorical-distance: init at 1.9-unstable-2020-03-31

This commit is contained in:
Daniel Fahey
2025-10-20 09:40:23 +01:00
parent 25b4acf2ea
commit 0d1deaa35f
2 changed files with 55 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };