2021-08-08 23:34:03 +00:00
|
|
|
{ lib
|
2021-12-06 16:07:01 +00:00
|
|
|
, black
|
2021-08-08 23:34:03 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cachecontrol
|
|
|
|
, lockfile
|
|
|
|
, mistune
|
|
|
|
, rdflib
|
2021-12-06 16:07:01 +00:00
|
|
|
, ruamel-yaml
|
2021-08-08 23:34:03 +00:00
|
|
|
, pytestCheckHook
|
2021-12-06 16:07:01 +00:00
|
|
|
, pythonOlder
|
2021-08-08 23:34:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "schema-salad";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "8.2.20220204150214";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2021-08-08 23:34:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-PlPb/nE3eWueUTWSDpa7JxPe2ee+KFna5VTR3IsClwQ=";
|
2021-08-08 23:34:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cachecontrol
|
|
|
|
lockfile
|
|
|
|
mistune
|
|
|
|
rdflib
|
2021-12-06 16:07:01 +00:00
|
|
|
ruamel-yaml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
black
|
|
|
|
pytestCheckHook
|
2021-08-08 23:34:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# setup for these tests requires network access
|
|
|
|
"test_secondaryFiles"
|
|
|
|
"test_outputBinding"
|
|
|
|
];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"schema_salad"
|
|
|
|
];
|
2021-08-08 23:34:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Semantic Annotations for Linked Avro Data";
|
|
|
|
homepage = "https://github.com/common-workflow-language/schema_salad";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|