mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
Merge pull request #144870 from fabaff/fix-cwltool
cwltool: 3.1.20210628163208 -> 3.1.20211104071347
This commit is contained in:
commit
a1b8eb4a30
|
@ -1,22 +1,35 @@
|
||||||
{ lib
|
{ lib
|
||||||
, python3Packages
|
, fetchFromGitHub
|
||||||
|
, git
|
||||||
|
, nodejs
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "cwltool";
|
pname = "cwltool";
|
||||||
version = "3.1.20210628163208";
|
version = "3.1.20211104071347";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
disabled = python3.pythonOlder "3.6";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "21b885f725420413d2f87eadc5e81c08a9c91beceda89b35d1a702ec4df47e52";
|
src = fetchFromGitHub {
|
||||||
|
owner = "common-workflow-language";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-tp4SdilW2PKav7b3/BchXYl33W9U0aQH6FPdOhHSvIQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace 'prov == 1.5.1' 'prov'
|
--replace 'prov == 1.5.1' 'prov' \
|
||||||
|
--replace "setup_requires=PYTEST_RUNNER," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
nativeBuildInputs = [
|
||||||
|
git
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
argcomplete
|
argcomplete
|
||||||
bagit
|
bagit
|
||||||
coloredlogs
|
coloredlogs
|
||||||
|
@ -24,18 +37,41 @@ python3Packages.buildPythonApplication rec {
|
||||||
prov
|
prov
|
||||||
psutil
|
psutil
|
||||||
pydot
|
pydot
|
||||||
|
rdflib
|
||||||
|
requests
|
||||||
|
ruamel-yaml
|
||||||
schema-salad
|
schema-salad
|
||||||
shellescape
|
shellescape
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # hard to setup
|
checkInputs = with python3.pkgs; [
|
||||||
pythonImportsCheck = [ "cwltool" ];
|
mock
|
||||||
|
nodejs
|
||||||
|
pytest-mock
|
||||||
|
pytest-xdist
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_content_types"
|
||||||
|
"test_env_filtering"
|
||||||
|
"test_http_path_mapping"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
"tests/test_udocker.py"
|
||||||
|
"tests/test_provenance.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"cwltool"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Common Workflow Language reference implementation";
|
||||||
homepage = "https://www.commonwl.org";
|
homepage = "https://www.commonwl.org";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
description = "Common Workflow Language reference implementation";
|
|
||||||
maintainers = with maintainers; [ veprbl ];
|
maintainers = with maintainers; [ veprbl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, black
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, cachecontrol
|
, cachecontrol
|
||||||
|
@ -8,15 +9,19 @@
|
||||||
, rdflib-jsonld
|
, rdflib-jsonld
|
||||||
, ruamel_yaml
|
, ruamel_yaml
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "schema-salad";
|
pname = "schema-salad";
|
||||||
version = "8.2.20210918131710";
|
version = "8.2.20211104054942";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "464180407f49a3533cd5a5bc7db9254769bc77595ea00562bbe4a50493f7f445";
|
sha256 = "sha256-1crKyAON8iZBYxP6bhj0MxV3fSpnCh3Lqp8x91KLBT8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -28,13 +33,20 @@ buildPythonPackage rec {
|
||||||
ruamel_yaml
|
ruamel_yaml
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
|
black
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# setup for these tests requires network access
|
# setup for these tests requires network access
|
||||||
"test_secondaryFiles"
|
"test_secondaryFiles"
|
||||||
"test_outputBinding"
|
"test_outputBinding"
|
||||||
];
|
];
|
||||||
pythonImportsCheck = [ "schema_salad" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"schema_salad"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Semantic Annotations for Linked Avro Data";
|
description = "Semantic Annotations for Linked Avro Data";
|
||||||
|
|
Loading…
Reference in a new issue