3
0
Fork 0
forked from mirrors/nixpkgs

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

python311Packages.pycep-parser: 0.4.0 -> 0.4.1
This commit is contained in:
Nick Cao 2023-06-20 01:47:16 -06:00 committed by GitHub
commit de72b0d5dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,16 +12,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycep-parser"; pname = "pycep-parser";
version = "0.4.0"; version = "0.4.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gruebel"; owner = "gruebel";
repo = "pycep"; repo = "pycep";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ZKvFurD5DzByeqDJZdJHpkaUh00UoitCGYDh+TmF/Yc="; hash = "sha256-OSdxdhGAZhl625VdIDHQ1aepQR5B0pCTLavfxer1tqc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,11 +39,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'regex = "^2022.3.15"' 'regex = "*"'
'';
pythonImportsCheck = [ pythonImportsCheck = [
"pycep" "pycep"
]; ];
@ -51,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python based Bicep parser"; description = "Python based Bicep parser";
homepage = "https://github.com/gruebel/pycep"; homepage = "https://github.com/gruebel/pycep";
changelog = "https://github.com/gruebel/pycep/blob/${version}/CHANGELOG.md";
license = with licenses; [ asl20 ]; license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };