0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python3Packages.bc-python-hcl2: 0.3.11 -> 0.3.24

This commit is contained in:
Fabian Affolter 2021-10-20 01:00:46 +02:00
parent e93fbd5ed1
commit ea0a2bb3a1

View file

@ -1,13 +1,17 @@
{ lib, buildPythonPackage, fetchPypi, nose }:
{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
let
lark-parser = buildPythonPackage rec {
pname = "lark-parser";
version = "0.7.8";
version = "0.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "JiFeuxV+b7LudDGapERbnzt+RW4mviFc4Z/aqpAcIKQ=";
sha256 = "15jr4c1falvgkq664xdgamykk6waklh1psy8v3wlrg0v59hngws2";
};
doCheck = true;
@ -15,11 +19,11 @@ let
in
buildPythonPackage rec {
pname = "bc-python-hcl2";
version = "0.3.11";
version = "0.3.24";
src = fetchPypi {
inherit pname version;
sha256 = "VZhI1oJ2EDZGyz3iI6/KYvJq4BGafzR+rcSgHqlUDrA=";
sha256 = "sha256-YsiMkTPRSKR4511csJOv9/Jf1b3TVUM7N2lInejdNrQ=";
};
# Nose is required during build process, so can not use `checkInputs`.
@ -31,19 +35,23 @@ buildPythonPackage rec {
lark-parser
];
pythonImportsCheck = [ "hcl2" ];
# This fork of python-hcl2 doesn't ship tests
doCheck = false;
pythonImportsCheck = [
"hcl2"
];
meta = with lib; {
description = "A parser for HCL2 written in Python using Lark";
description = "Parser for HCL2 written in Python using Lark";
longDescription = ''
A parser for HCL2 written in Python using Lark.
This parser only supports HCL2 and isn't backwards compatible with HCL v1.
It can be used to parse any HCL2 config file such as Terraform.
This parser only supports HCL2 and isn't backwards compatible with HCL v1.
It can be used to parse any HCL2 config file such as Terraform.
'';
# Although this is the main homepage from PyPi but it is also a homepage
# of another PyPi package (python-hcl2). But these two are different.
homepage = "https://github.com/amplify-education/python-hcl2";
license = licenses.mit;
maintainers = [ maintainers.anhdle14 ];
maintainers = with maintainers; [ anhdle14 ];
};
}