diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix b/nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix new file mode 100644 index 000000000000..389c3b3f1278 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/future-fstrings/default.nix @@ -0,0 +1,24 @@ +{ 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 + }; +} |