9 buildPythonPackage rec {
10 pname = "bc-python-hcl2";
12 format = "setuptools";
14 disabled = pythonOlder "3.6";
17 inherit pname version;
18 hash = "sha256-cqQ4zuztfS5MiY4hj1WipKunqIfB1kpM+RODcZPERrY=";
21 # Nose is required during build process, so can not use `nativeCheckInputs`.
26 propagatedBuildInputs = [
30 # This fork of python-hcl2 doesn't ship tests
33 pythonImportsCheck = [
38 description = "Parser for HCL2 written in Python using Lark";
40 This parser only supports HCL2 and isn't backwards compatible with HCL v1.
41 It can be used to parse any HCL2 config file such as Terraform.
43 # Although this is the main homepage from PyPi but it is also a homepage
44 # of another PyPi package (python-hcl2). But these two are different.
45 homepage = "https://github.com/amplify-education/python-hcl2";
46 license = licenses.mit;
47 maintainers = with maintainers; [ anhdle14 ];