summary refs log tree commit diff
path: root/pkgs/development/python-modules/schema-salad/default.nix
blob: e6342b90bba4d44910d0c2db14de0c0dbf4cad20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, buildPythonPackage
, fetchPypi
, cachecontrol
, lockfile
, mistune
, rdflib
, rdflib-jsonld
, ruamel_yaml
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "schema-salad";
  version = "8.1.20210721123742";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1549555b9b5656cfc690716f04fb76b9fa002feb278638c446522f030632b450";
  };

  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 ];
  };
}