32 lines
680 B
Nix
32 lines
680 B
Nix
{ lib
|
|
, isPy27
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
# Python Inputs
|
|
, ipywidgets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipyvue";
|
|
version = "1.10.2";
|
|
format = "setuptools";
|
|
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-qZc1hvouKWUQ2aJLk1oiokUKzKBXtd6fC6tm7LHDOrQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ipywidgets ];
|
|
|
|
doCheck = false; # No tests in package or GitHub
|
|
pythonImportsCheck = [ "ipyvue" ];
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter widgets base for Vue libraries";
|
|
homepage = "https://github.com/mariobuikhuizen/ipyvue";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ drewrisinger ];
|
|
};
|
|
}
|