depot/third_party/nixpkgs/pkgs/development/python-modules/ipydatawidgets/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

49 lines
890 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pytest-cov
, nbval
, jupyter-packaging
, ipywidgets
, numpy
, six
, traittypes
}:
buildPythonPackage rec {
pname = "ipydatawidgets";
version = "4.3.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-LyuZf2Vp0+4fT3412wyx2gjAd7IaiPHAHFn1uYajGqY=";
};
nativeBuildInputs = [
jupyter-packaging
];
setupPyBuildFlags = [ "--skip-npm" ];
propagatedBuildInputs = [
ipywidgets
numpy
six
traittypes
];
checkInputs = [ pytest pytest-cov 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 ];
};
}