mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ced21f5e1a
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`.
28 lines
585 B
Nix
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 ];
|
|
};
|
|
} |