Files
nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix
T
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

25 lines
670 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
buildPythonPackage rec {
pname = "future-fstrings";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "future_fstrings";
sha256 = "6cf41cbe97c398ab5a81168ce0dbb8ad95862d3caf23c21e4430627b90844089";
};
# No tests included in Pypi archive
doCheck = false;
meta = with lib; {
homepage = "https://github.com/asottile/future-fstrings";
description = "A backport of fstrings to python<3.6";
license = licenses.mit;
maintainers = with maintainers; [ nyanloutre ];
broken = pythonOlder "3.6"; # dependency tokenize-rt not packaged
};
}