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