2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "future-fstrings";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "future_fstrings";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "6cf41cbe97c398ab5a81168ce0dbb8ad95862d3caf23c21e4430627b90844089";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in Pypi archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/asottile/future-fstrings";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Backport of fstrings to python<3.6";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "future-fstrings-show";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
broken = pythonOlder "3.6"; # dependency tokenize-rt not packaged
|
|
|
|
};
|
|
|
|
}
|