diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2020-05-07 23:04:00 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-05-08 07:43:25 +0200 |
commit | d78ba41a5604c8e06d40756a2436e52169354d36 (patch) | |
tree | 982aa45ebc47ad427f4d1365b023d5f588bc0e24 /pkgs/development/python-modules | |
parent | 7ecde8b92b8e49e6022e3ab396880e191e6ffdc1 (diff) | |
download | nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar.gz nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar.bz2 nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar.lz nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar.xz nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.tar.zst nixlib-d78ba41a5604c8e06d40756a2436e52169354d36.zip |
python3Packages.ipydatawidgets: init at 4.0.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/ipydatawidgets/default.nix | 42 | ||||
-rw-r--r-- | pkgs/development/python-modules/traittypes/default.nix | 4 |
2 files changed, 44 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ipydatawidgets/default.nix b/pkgs/development/python-modules/ipydatawidgets/default.nix new file mode 100644 index 000000000000..5134ffb2d6d2 --- /dev/null +++ b/pkgs/development/python-modules/ipydatawidgets/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy27 +, pytest +, pytestcov +, nbval +, ipywidgets +, numpy +, six +, traittypes +}: + +buildPythonPackage rec { + pname = "ipydatawidgets"; + version = "4.0.1"; + + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "1h7cppy959q6x5rvkdjhzxhqh57s37i2xsish5rfavcqbp2xgk4g"; + }; + + propagatedBuildInputs = [ + ipywidgets + numpy + six + traittypes + ]; + + checkInputs = [ pytest pytestcov nbval ]; + + checkPhase = "pytest ipydatawidgets/tests"; + + meta = { + description = "Widgets to help facilitate reuse of large datasets across different widgets"; + homepage = "https://github.com/vidartf/ipydatawidgets"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ bcdarwin ]; + }; +} diff --git a/pkgs/development/python-modules/traittypes/default.nix b/pkgs/development/python-modules/traittypes/default.nix index 9814f740ebc4..2c8f6dd80312 100644 --- a/pkgs/development/python-modules/traittypes/default.nix +++ b/pkgs/development/python-modules/traittypes/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib , buildPythonPackage , fetchFromGitHub , fetchpatch @@ -37,7 +37,7 @@ buildPythonPackage rec { checkInputs = [ numpy pandas xarray nose pytest ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Trait types for NumPy, SciPy, XArray, and Pandas"; homepage = "https://github.com/jupyter-widgets/traittypes"; license = licenses.bsd3; |