at master 824 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 scipy, 8 pandas, 9}: 10 11buildPythonPackage { 12 13 pname = "gower"; 14 version = "0.1.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "wwwjk366"; 19 repo = "gower"; 20 rev = "d92f2145e65efe305143e9e30cc69b722d1c52e3"; 21 hash = "sha256-9S4uUEuntKyFbUY4wdYshsVT5Cssc/MCHqOnKHwZoVI="; 22 }; 23 24 patches = [ 25 ./fix-pyproject_toml.patch 26 ]; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 scipy 32 pandas 33 ]; 34 35 pythonImportsCheck = [ "gower" ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 ]; 40 41 meta = with lib; { 42 description = "Gower's distance calculation in Python"; 43 homepage = "https://github.com/wwwjk366/gower"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ b-rodrigues ]; 46 }; 47}