nixpkgs/pkgs/development/python-modules/handout/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

23 lines
590 B
Nix

{ lib, buildPythonPackage, fetchPypi
, imageio, imageio-ffmpeg }:
buildPythonPackage rec {
pname = "handout";
version = "1.1.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "52daaf1f9a4cb2ceb88c1dedf85d22ef449b9422b424a2534d21f941e57bc915";
};
propagatedBuildInputs = [ imageio imageio-ffmpeg ];
meta = with lib; {
description = "Turn Python scripts into handouts with Markdown and figures";
homepage = "https://github.com/danijar/handout";
license = licenses.gpl3;
maintainers = with maintainers; [ averelld ];
};
}