diff options
Diffstat (limited to 'pkgs/development/python-modules/beancount-black/default.nix')
-rw-r--r-- | pkgs/development/python-modules/beancount-black/default.nix | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/beancount-black/default.nix b/pkgs/development/python-modules/beancount-black/default.nix index f1e1ee3a4b02b..4196997a0c95b 100644 --- a/pkgs/development/python-modules/beancount-black/default.nix +++ b/pkgs/development/python-modules/beancount-black/default.nix @@ -1,16 +1,17 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, pythonOlder -, beancount-parser -, click -, poetry-core -, pytestCheckHook +{ + lib, + fetchFromGitHub, + buildPythonPackage, + pythonOlder, + beancount-parser, + click, + poetry-core, + pytestCheckHook, }: buildPythonPackage rec { pname = "beancount-black"; - version = "0.2.1"; + version = "1.0.2"; disabled = pythonOlder "3.9"; format = "pyproject"; @@ -19,25 +20,19 @@ buildPythonPackage rec { owner = "LaunchPlatform"; repo = "beancount-black"; rev = version; - hash = "sha256-wvAQnwnyHn5Koc/UN4zpJ3JDmFbDoUrpCTmJCpSP7Mg="; + hash = "sha256-SoAic9UYKE9lhMpl44VosJmmjKJjDrKOyMeUO931Ztg="; }; - buildInputs = [ - poetry-core - ]; + buildInputs = [ poetry-core ]; propagatedBuildInputs = [ beancount-parser click ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "beancount_black" - ]; + pythonImportsCheck = [ "beancount_black" ]; meta = with lib; { description = "Opinioned code formatter for Beancount"; |