1{ lib
2, black
3, buildPythonPackage
4, fetchPypi
5, cachecontrol
6, lockfile
7, mistune
8, rdflib
9, ruamel-yaml
10, pytestCheckHook
11, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "schema-salad";
16 version = "8.2.20211104054942";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.6";
20
21 src = fetchPypi {
22 inherit pname version;
23 sha256 = "sha256-1crKyAON8iZBYxP6bhj0MxV3fSpnCh3Lqp8x91KLBT8=";
24 };
25
26 propagatedBuildInputs = [
27 cachecontrol
28 lockfile
29 mistune
30 rdflib
31 ruamel-yaml
32 ];
33
34 checkInputs = [
35 black
36 pytestCheckHook
37 ];
38
39 disabledTests = [
40 # setup for these tests requires network access
41 "test_secondaryFiles"
42 "test_outputBinding"
43 ];
44
45 pythonImportsCheck = [
46 "schema_salad"
47 ];
48
49 meta = with lib; {
50 description = "Semantic Annotations for Linked Avro Data";
51 homepage = "https://github.com/common-workflow-language/schema_salad";
52 license = with licenses; [ asl20 ];
53 maintainers = with maintainers; [ veprbl ];
54 };
55}