nixpkgs/pkgs/development/python-modules/widgetsnbextension/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

28 lines
585 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, notebook
, ipywidgets
}:
buildPythonPackage rec {
pname = "widgetsnbextension";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "5417789ee6064ff515fd10be24870660af3561c02d3d48b26f6f44285d0f70cc";
};
propagatedBuildInputs = [ notebook ];
# No tests in archive
doCheck = false;
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = http://ipython.org/;
license = ipywidgets.meta.license; # Build from same repo
maintainers = with lib.maintainers; [ fridh ];
};
}