14 buildPythonPackage rec {
15 pname = "cwl-upgrader";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
22 owner = "common-workflow-language";
23 repo = "cwl-upgrader";
25 hash = "sha256-cfEd1XAu31u+NO27d3RNA5lhCpRpYK8NeaCxhQ/1GNU=";
29 # Version detection doesn't work for schema_salad
30 substituteInPlace pyproject.toml \
31 --replace '"schema_salad",' ""
34 nativeBuildInputs = [ setuptools ];
36 propagatedBuildInputs = [
47 pythonImportsCheck = [ "cwlupgrader" ];
50 description = "Library to upgrade CWL syntax to a newer version";
51 mainProgram = "cwl-upgrader";
52 homepage = "https://github.com/common-workflow-language/cwl-upgrader";
53 changelog = "https://github.com/common-workflow-language/cwl-upgrader/releases/tag/v${version}";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ fab ];