about summary refs log tree commit diff
path: root/pkgs/development/python-modules/kmapper/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/kmapper/default.nix')
-rw-r--r--pkgs/development/python-modules/kmapper/default.nix43
1 files changed, 24 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/kmapper/default.nix b/pkgs/development/python-modules/kmapper/default.nix
index c4f99ca613f5..2732efae80fd 100644
--- a/pkgs/development/python-modules/kmapper/default.nix
+++ b/pkgs/development/python-modules/kmapper/default.nix
@@ -1,37 +1,43 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, scikit-learn
-, numpy
-, scipy
-, jinja2
-, pytestCheckHook
-, networkx
-, matplotlib
-, igraph
-, plotly
-, ipywidgets
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  setuptools,
+  scikit-learn,
+  numpy,
+  scipy,
+  jinja2,
+  pytestCheckHook,
+  networkx,
+  matplotlib,
+  igraph,
+  plotly,
+  ipywidgets,
 }:
 
 buildPythonPackage rec {
   pname = "kmapper";
-  version = "2.0.1";
-  format = "setuptools";
+  version = "2.1.0";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "scikit-tda";
     repo = "kepler-mapper";
-    rev = "v${version}";
-    sha256 = "1jqqrn7ig9kylcc8xbslxmchzghr9jgffaab3g3y3nyghk8azlgj";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4=";
   };
 
-  propagatedBuildInputs = [
+  build-system = [ setuptools ];
+
+  dependencies = [
     scikit-learn
     numpy
     scipy
     jinja2
   ];
 
+  pythonImportsCheck = [ "kmapper" ];
+
   nativeCheckInputs = [
     pytestCheckHook
     networkx
@@ -46,6 +52,5 @@ buildPythonPackage rec {
     homepage = "https://kepler-mapper.scikit-tda.org/";
     license = licenses.mit;
     maintainers = [ ];
-    broken = true;
   };
 }