Unverified Commit de72b0d5 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #238710 from fabaff/pycep-parser-bump

python311Packages.pycep-parser: 0.4.0 -> 0.4.1
parents f891c1c6 6e95560c
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -12,16 +12,16 @@

buildPythonPackage rec {
  pname = "pycep-parser";
  version = "0.4.0";
  version = "0.4.1";
  format = "pyproject";

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "gruebel";
    repo = "pycep";
    rev = "refs/tags/${version}";
    hash = "sha256-ZKvFurD5DzByeqDJZdJHpkaUh00UoitCGYDh+TmF/Yc=";
    hash = "sha256-OSdxdhGAZhl625VdIDHQ1aepQR5B0pCTLavfxer1tqc=";
  };

  nativeBuildInputs = [
@@ -39,11 +39,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'regex = "^2022.3.15"' 'regex = "*"'
  '';

  pythonImportsCheck = [
    "pycep"
  ];
@@ -51,6 +46,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python based Bicep parser";
    homepage = "https://github.com/gruebel/pycep";
    changelog = "https://github.com/gruebel/pycep/blob/${version}/CHANGELOG.md";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };