python3Packages.ipydatawidgets: init at 4.0.1
This commit is contained in:
parent
7ecde8b92b
commit
d78ba41a56
42
pkgs/development/python-modules/ipydatawidgets/default.nix
Normal file
42
pkgs/development/python-modules/ipydatawidgets/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
@ -4104,6 +4104,8 @@ in {
|
||||
|
||||
ipy = callPackage ../development/python-modules/IPy { };
|
||||
|
||||
ipydatawidgets = callPackage ../development/python-modules/ipydatawidgets { };
|
||||
|
||||
ipykernel = if pythonOlder "3.4" then
|
||||
callPackage ../development/python-modules/ipykernel/4.nix { }
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user