From ee63a081baa0b31e8a8f39ef07cb6cd86df5d82f Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 21 Jul 2021 00:51:09 -0400 Subject: [PATCH] pythonPackages.schema-salad: init at 8.1.20210716111910 --- .../python-modules/schema-salad/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/schema-salad/default.nix diff --git a/pkgs/development/python-modules/schema-salad/default.nix b/pkgs/development/python-modules/schema-salad/default.nix new file mode 100644 index 000000000000..007cca251436 --- /dev/null +++ b/pkgs/development/python-modules/schema-salad/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchPypi +, cachecontrol +, lockfile +, mistune +, rdflib +, rdflib-jsonld +, ruamel_yaml +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "schema-salad"; + version = "8.1.20210716111910"; + + src = fetchPypi { + inherit pname version; + sha256 = "3f851b385d044c58d359285ba471298b6199478a4978f892a83b15cbfb282f25"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 26dba3485425..8c5d9ecb1e53 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7793,6 +7793,8 @@ in { schema = callPackage ../development/python-modules/schema { }; + schema-salad = callPackage ../development/python-modules/schema-salad { }; + schiene = callPackage ../development/python-modules/schiene { }; scikit-bio = callPackage ../development/python-modules/scikit-bio { };