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

20 lines
515 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27 }:
buildPythonPackage rec {
pname = "pychart";
version = "1.39";
format = "setuptools";
disabled = ! isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e";
};
meta = with lib; {
description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts";
homepage = "https://pypi.python.org/pypi/PyChart";
license = licenses.gpl2;
};
}