nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.nbdime: rename GitPython

+14 -6
+14 -6
pkgs/development/python-modules/nbdime/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy3k 4 + , pythonOlder 5 5 , hypothesis 6 6 , setuptools-scm 7 7 , six ··· 19 19 , pygments 20 20 , tornado 21 21 , requests 22 - , GitPython 22 + , gitpython 23 23 , jupyter-server-mathjax 24 24 , notebook 25 25 , jinja2 ··· 28 28 buildPythonPackage rec { 29 29 pname = "nbdime"; 30 30 version = "3.1.1"; 31 - disabled = !isPy3k; 31 + format = "setuptools"; 32 + 33 + disabled = pythonOlder "3.6"; 32 34 33 35 src = fetchPypi { 34 36 inherit pname version; 35 - sha256 = "67767320e971374f701a175aa59abd3a554723039d39fae908e72d16330d648b"; 37 + hash = "sha256-Z3ZzIOlxN09wGhdapZq9OlVHIwOdOfrpCOctFjMNZIs="; 36 38 }; 37 39 38 - nativeBuildInputs = [ setuptools-scm ]; 40 + nativeBuildInputs = [ 41 + setuptools-scm 42 + ]; 39 43 40 44 propagatedBuildInputs = [ 41 45 attrs ··· 52 48 pygments 53 49 tornado 54 50 requests 55 - GitPython 51 + gitpython 56 52 notebook 57 53 jinja2 58 54 ]; ··· 81 77 ]; 82 78 83 79 __darwinAllowLocalNetworking = true; 80 + 81 + pythonImportsCheck = [ 82 + "nbdime" 83 + ]; 84 84 85 85 meta = with lib; { 86 86 homepage = "https://github.com/jupyter/nbdime";