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:
commit
de72b0d5dc
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue