about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-24 03:10:54 +0200
committerGitHub <noreply@github.com>2021-04-24 03:10:54 +0200
commit4fbf987e20383cea86ecfca92ad8516dd478d5d2 (patch)
tree70338d3d4fe6971d7503663d55fb7d6605ccc74c /pkgs/development
parentcd3f083645d7a074ae9905e81449ba8e1ca330f0 (diff)
parent510dc52b8649610da4c1514b8ed1da76b9fa75de (diff)
Merge pull request #120233 from nbren12/fix-dask-glm
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/dask-glm/default.nix2
-rw-r--r--pkgs/development/python-modules/dask-ml/default.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dask-glm/default.nix b/pkgs/development/python-modules/dask-glm/default.nix
index 86bc2da1565cd..1cfe643944f89 100644
--- a/pkgs/development/python-modules/dask-glm/default.nix
+++ b/pkgs/development/python-modules/dask-glm/default.nix
@@ -8,6 +8,7 @@
 , scipy
 , scikitlearn
 , pytest
+, setuptools-scm
 }:
 
 buildPythonPackage rec {
@@ -20,6 +21,7 @@ buildPythonPackage rec {
   };
 
   checkInputs = [ pytest ];
+  nativeBuildInputs = [ setuptools-scm ];
   propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
 
   checkPhase = ''
diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix
index 4f4b7b705c4e9..517056866bb43 100644
--- a/pkgs/development/python-modules/dask-ml/default.nix
+++ b/pkgs/development/python-modules/dask-ml/default.nix
@@ -13,6 +13,7 @@
 , multipledispatch
 , packaging
 , distributed
+, setuptools-scm
 }:
 
 buildPythonPackage rec {
@@ -38,6 +39,7 @@ buildPythonPackage rec {
     scipy
     six
     toolz
+    setuptools-scm
   ];
 
   # has non-standard build from source, and pypi doesn't include tests