stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / beancount-parser / default.nix
blob95e69d1787f3ea031a39878c8c133adca9b63878
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pythonOlder,
6   lark,
7   poetry-core,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "beancount-parser";
13   version = "1.2.3";
14   format = "pyproject";
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "LaunchPlatform";
20     repo = "beancount-parser";
21     tag = version;
22     hash = "sha256-8YcrsLdSRTixKXU/IM821kNcBo0jB/8DXA1/KiedsBY=";
23   };
25   buildInputs = [ poetry-core ];
27   propagatedBuildInputs = [ lark ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "beancount_parser" ];
33   meta = with lib; {
34     description = "Standalone Lark based Beancount syntax parser";
35     homepage = "https://github.com/LaunchPlatform/beancount-parser/";
36     changelog = "https://github.com/LaunchPlatform/beancount-parser/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ ambroisie ];
39   };