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

24 lines
680 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "toml";
version = "0.10.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f";
};
# This package has a test script (built for Travis) that involves a)
# looking in the home directory for a binary test runner and b) using
# git to download a test suite.
doCheck = false;
meta = with lib; {
description = "a Python library for parsing and creating TOML";
homepage = "https://github.com/uiri/toml";
license = licenses.mit;
maintainers = with maintainers; [ twey ];
};
}