python311Packages.calmjs-parse: 1.3.0 -> 1.3.1

Diff: https://github.com/calmjs/calmjs.parse/compare/1.3.0...1.3.1

Changelog: https://github.com/calmjs/calmjs.parse/blob/1.3.1/CHANGES.rst
This commit is contained in:
Robert Schütz 2023-11-26 17:49:21 -08:00
parent 5171694860
commit fef59b3b85

View file

@ -8,17 +8,26 @@
buildPythonPackage rec {
pname = "calmjs-parse";
version = "1.3.0";
version = "1.3.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "calmjs";
repo = "calmjs.parse";
rev = version;
hash = "sha256-QhHNp9g88RhGHqRRjg4nk7aXjAgGCOauOagWJoJ3fqc=";
hash = "sha256-xph+NuTkWfW0t/1vxWBSgsjU7YHQMnsm/W/XdkAnl7I=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "env['PYTHONPATH'] = 'src'" "env['PYTHONPATH'] += ':src'"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
setuptools
ply
@ -43,6 +52,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/calmjs/calmjs.parse/blob/${src.rev}/CHANGES.rst";
description = "Various parsers for ECMA standards";
homepage = "https://github.com/calmjs/calmjs.parse";
license = licenses.mit;