nixpkgs-suyu/pkgs/development/python-modules/nbsmoke/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

47 lines
831 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jupyter-client
, ipykernel
, holoviews
, nbformat
, nbconvert
, pyflakes
, requests
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "nbsmoke";
version = "0.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "8b55333e2face27bc7ff80c266c468ca5633947cb0697727348020dd445b0874";
};
propagatedBuildInputs = [
pytest
holoviews
jupyter-client
ipykernel
nbformat
nbconvert
pyflakes
requests
beautifulsoup4
];
# tests not included with pypi release
doCheck = false;
pythonImportsCheck = [ "nbsmoke" ];
meta = with lib; {
description = "Basic notebook checks and linting";
homepage = "https://github.com/pyviz/nbsmoke";
license = licenses.bsd3;
maintainers = [ ];
};
}