1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "future-fstrings";
10 version = "1.2.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit version;
15 pname = "future_fstrings";
16 sha256 = "6cf41cbe97c398ab5a81168ce0dbb8ad95862d3caf23c21e4430627b90844089";
17 };
18
19 # No tests included in Pypi archive
20 doCheck = false;
21
22 meta = with lib; {
23 homepage = "https://github.com/asottile/future-fstrings";
24 description = "Backport of fstrings to python<3.6";
25 mainProgram = "future-fstrings-show";
26 license = licenses.mit;
27 maintainers = with maintainers; [ nyanloutre ];
28 broken = pythonOlder "3.6"; # dependency tokenize-rt not packaged
29 };
30}