2021-07-21 05:51:09 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cachecontrol
|
|
|
|
, lockfile
|
|
|
|
, mistune
|
|
|
|
, rdflib
|
|
|
|
, rdflib-jsonld
|
|
|
|
, ruamel_yaml
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "schema-salad";
|
2021-08-26 20:32:44 +01:00
|
|
|
version = "8.1.20210721123742";
|
2021-07-21 05:51:09 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:44 +01:00
|
|
|
sha256 = "1549555b9b5656cfc690716f04fb76b9fa002feb278638c446522f030632b450";
|
2021-07-21 05:51:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cachecontrol
|
|
|
|
lockfile
|
|
|
|
mistune
|
|
|
|
rdflib
|
|
|
|
rdflib-jsonld
|
|
|
|
ruamel_yaml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
|
|
# setup for these tests requires network access
|
|
|
|
"test_secondaryFiles"
|
|
|
|
"test_outputBinding"
|
|
|
|
];
|
|
|
|
pythonImportsCheck = [ "schema_salad" ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|