mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
importlib.metadata.PackageNotFoundError: No package metadata was found for jupyter-themes
49 lines
965 B
Nix
49 lines
965 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
lesscpy,
|
|
matplotlib,
|
|
notebook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "jupyterthemes";
|
|
version = "0.20.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dunovank";
|
|
repo = "jupyter-themes";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-AWbUXMOA6k2LpZtcJOPxTZb1oL5vLDbBq4aEhXWvy9M=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
lesscpy
|
|
matplotlib
|
|
notebook
|
|
];
|
|
|
|
pythonImportsCheck = [ "jupyterthemes" ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Theme-ify your Jupyter Notebooks!";
|
|
homepage = "https://github.com/dunovank/jupyter-themes";
|
|
changelog = "https://github.com/dunovank/jupyter-themes/blob/${finalAttrs.src.rev}/CHANGES.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jherland ];
|
|
mainProgram = "jupyter-theme";
|
|
};
|
|
})
|