uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
76
pkgs/applications/science/misc/cwltool/default.nix
Normal file
76
pkgs/applications/science/misc/cwltool/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, nodejs
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "cwltool";
|
||||
version = "3.1.20220224085855";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "common-workflow-language";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-7+1xOV5Lodqtku0wX1urAEHsCcYKM3Vcd5RDg4DdVow=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "ruamel.yaml >= 0.15, < 0.17.18" "ruamel.yaml" \
|
||||
--replace "prov == 1.5.1" "prov" \
|
||||
--replace "setup_requires=PYTEST_RUNNER," ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
argcomplete
|
||||
bagit
|
||||
coloredlogs
|
||||
mypy-extensions
|
||||
prov
|
||||
psutil
|
||||
pydot
|
||||
rdflib
|
||||
requests
|
||||
ruamel-yaml
|
||||
schema-salad
|
||||
shellescape
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
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; {
|
||||
description = "Common Workflow Language reference implementation";
|
||||
homepage = "https://www.commonwl.org";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue