Merge pull request #282547 from fabaff/cwl-upgrader-bump
python311Packages.cwl-upgrader: 1.2.10 -> 1.2.11
This commit is contained in:
commit
125b26fb2d
1 changed files with 15 additions and 11 deletions
|
@ -7,29 +7,33 @@
|
|||
, pythonOlder
|
||||
, ruamel-yaml
|
||||
, schema-salad
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cwl-upgrader";
|
||||
version = "1.2.10";
|
||||
format = "setuptools";
|
||||
version = "1.2.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "common-workflow-language";
|
||||
repo = pname;
|
||||
repo = "cwl-upgrader";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-D/MIvn/jyxK++CMgKM8EYDVo94WFgdlTtMZjsXoQ4W4=";
|
||||
hash = "sha256-P8607Io/KIJqAnrValM+rRK59tQITcC/jyGwkge8qN0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "ruamel.yaml >= 0.15, < 0.17.22" "ruamel.yaml" \
|
||||
--replace "setup_requires=PYTEST_RUNNER," ""
|
||||
sed -i "/ruamel.yaml/d" setup.py
|
||||
# Version detection doesn't work for schema_salad
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"schema_salad",' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mypy-extensions
|
||||
ruamel-yaml
|
||||
|
@ -46,9 +50,9 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to interface with Yolink";
|
||||
homepage = "https://github.com/common-workflow-language/cwl-utils";
|
||||
changelog = "https://github.com/common-workflow-language/cwl-utils/releases/tag/v${version}";
|
||||
description = "Library to upgrade CWL syntax to a newer version";
|
||||
homepage = "https://github.com/common-workflow-language/cwl-upgrader";
|
||||
changelog = "https://github.com/common-workflow-language/cwl-upgrader/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue