about summary refs log tree commit diff
path: root/pkgs/development/python-modules/future-fstrings/default.nix
blob: 9e49147315b5e6d7828984a592dde4cf9a97c092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:

buildPythonPackage rec {
  pname = "future-fstrings";
  version = "0.4.5";

  src = fetchPypi {
    inherit version;
    pname = "future_fstrings";
    sha256 = "891c5d5f073b3e3ff686bebde0a4c45c479065f45c8cbd6de19323d5a50738a8";
  };

  # 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
  };
}