summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/future-fstrings/default.nix
blob: 949532f3a24a80cdb1ed7e749f40955a0eb4a2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

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 = {
    homepage = "https://github.com/asottile/future-fstrings";
    description = "Backport of fstrings to python<3.6";
    mainProgram = "future-fstrings-show";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ nyanloutre ];
  };
}