Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
629 B
Nix
32 lines
629 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchPypi,
|
|
}:
|
|
|
|
let
|
|
inherit (python3.pkgs)
|
|
buildPythonApplication
|
|
pythonOlder
|
|
;
|
|
in
|
|
buildPythonApplication rec {
|
|
pname = "dfmt";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7af6360ca8d556f1cfe82b97f03b8d1ea5a9d6de1fa3018290c844b6566d9d6e";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Format paragraphs, comments and doc strings";
|
|
mainProgram = "dfmt";
|
|
homepage = "https://github.com/dmerejkowsky/dfmt";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ cole-h ];
|
|
};
|
|
}
|