presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / df / dfmt / package.nix
blob7c858386e6704d921cb305c96bcc504530e3cff4
2   lib,
3   python3,
4   fetchPypi,
5 }:
7 let
8   inherit (python3.pkgs)
9     buildPythonApplication
10     pythonOlder
11     ;
13 buildPythonApplication rec {
14   pname = "dfmt";
15   version = "1.2.0";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "7af6360ca8d556f1cfe82b97f03b8d1ea5a9d6de1fa3018290c844b6566d9d6e";
21   };
23   meta = with lib; {
24     description = "Format paragraphs, comments and doc strings";
25     mainProgram = "dfmt";
26     homepage = "https://github.com/dmerejkowsky/dfmt";
27     license = licenses.bsd3;
28     maintainers = with maintainers; [ cole-h ];
29   };