Something went wrong. Try again.
lol
Something went wrong. Try again.
878 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, fetchFromGitHub, buildPythonPackage, beancount-parser, click, poetry-core, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "beancount-black"; version = "1.0.5";
pyproject = true;
src = fetchFromGitHub { owner = "LaunchPlatform"; repo = "beancount-black"; tag = finalAttrs.version; hash = "sha256-vo11mlgDhyc8YFnULJ4AFrANWmGpAMNX5jJ6QaUNqk0="; };
buildInputs = [ poetry-core ];
propagatedBuildInputs = [ beancount-parser click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "beancount_black" ];
meta = { description = "Opinioned code formatter for Beancount"; mainProgram = "bean-black"; homepage = "https://github.com/LaunchPlatform/beancount-black/"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ ambroisie ]; };})