Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 27 lines 568 B view raw
1{ lib 2, python3 3, fetchPypi 4}: 5 6let 7 inherit (python3.pkgs) 8 buildPythonApplication 9 pythonOlder; 10in 11buildPythonApplication rec { 12 pname = "dfmt"; 13 version = "1.2.0"; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "7af6360ca8d556f1cfe82b97f03b8d1ea5a9d6de1fa3018290c844b6566d9d6e"; 19 }; 20 21 meta = with lib; { 22 description = "Format paragraphs, comments and doc strings"; 23 homepage = "https://github.com/dmerejkowsky/dfmt"; 24 license = licenses.bsd3; 25 maintainers = with maintainers; [ cole-h ]; 26 }; 27}