nixpkgs-suyu/pkgs/development/python-modules/pyviz-comms/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

34 lines
655 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, param
, panel
}:
buildPythonPackage rec {
pname = "pyviz_comms";
version = "2.2.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-omFFuM5D0tk0s8aCbXe5E84QXFKOsuSUyJCz41Jd3zM=";
};
propagatedBuildInputs = [ param ];
# there are not tests with the package
doCheck = false;
pythonImportsCheck = [ "pyviz_comms" ];
passthru.tests = {
inherit panel;
};
meta = with lib; {
description = "Launch jobs, organize the output, and dissect the results";
homepage = "https://pyviz.org/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}