Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, cachecontrol 4, cwl-upgrader 5, cwlformat 6, fetchFromGitHub 7, packaging 8, pytest-mock 9, pytest-xdist 10, pytestCheckHook 11, pythonOlder 12, rdflib 13, requests 14, schema-salad 15}: 16 17buildPythonPackage rec { 18 pname = "cwl-utils"; 19 version = "0.26"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "common-workflow-language"; 26 repo = pname; 27 rev = "refs/tags/v${version}"; 28 hash = "sha256-T82zaXILbQFOIE0/HhNjpYutSdA1UeaxXO/M7Z4sSfo="; 29 }; 30 31 propagatedBuildInputs = [ 32 cachecontrol 33 cwl-upgrader 34 packaging 35 rdflib 36 requests 37 schema-salad 38 ]; 39 40 nativeCheckInputs = [ 41 cwlformat 42 pytest-mock 43 pytest-xdist 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ 48 "cwl_utils" 49 ]; 50 51 disabledTests = [ 52 # Don't run tests which require Node.js 53 "test_context_multiple_regex" 54 "test_value_from_two_concatenated_expressions" 55 "test_graph_split" 56 "test_caches_js_processes" 57 "test_load_document_with_remote_uri" 58 ]; 59 60 meta = with lib; { 61 description = "Utilities for CWL"; 62 homepage = "https://github.com/common-workflow-language/cwl-utils"; 63 changelog = "https://github.com/common-workflow-language/cwl-utils/releases/tag/v${version}"; 64 license = licenses.asl20; 65 maintainers = with maintainers; [ fab ]; 66 }; 67}