python311Packages.nbval: refactor

python311Packages.nbval: add meta.changelog
This commit is contained in:
natsukium 2024-03-10 14:51:04 +09:00
parent 557679d1eb
commit 1467b7780c
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -2,13 +2,13 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, setuptools
, coverage , coverage
, ipykernel , ipykernel
, jupyter-client , jupyter-client
, nbformat , nbformat
, pytestCheckHook , pytestCheckHook
, pytest , pytest
, six
, glibcLocales , glibcLocales
, matplotlib , matplotlib
, sympy , sympy
@ -17,9 +17,9 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nbval"; pname = "nbval";
version = "0.11.0"; version = "0.11.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -30,7 +30,11 @@ buildPythonPackage rec {
glibcLocales glibcLocales
]; ];
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
coverage coverage
ipykernel ipykernel
jupyter-client jupyter-client
@ -68,6 +72,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "A py.test plugin to validate Jupyter notebooks"; description = "A py.test plugin to validate Jupyter notebooks";
homepage = "https://github.com/computationalmodelling/nbval"; homepage = "https://github.com/computationalmodelling/nbval";
changelog = "https://github.com/computationalmodelling/nbval/releases/tag/${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };