nixpkgs/pkgs/development/python-modules/schema-salad/default.nix
2022-04-19 09:42:02 +02:00

58 lines
1 KiB
Nix

{ lib
, black
, buildPythonPackage
, fetchPypi
, cachecontrol
, lockfile
, mistune
, rdflib
, ruamel-yaml
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "schema-salad";
version = "8.2.20220204150214";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-PlPb/nE3eWueUTWSDpa7JxPe2ee+KFna5VTR3IsClwQ=";
};
propagatedBuildInputs = [
cachecontrol
lockfile
mistune
rdflib
ruamel-yaml
];
checkInputs = [
black
pytestCheckHook
];
disabledTests = [
# Setup for these tests requires network access
"test_secondaryFiles"
"test_outputBinding"
# Test requires network
"test_yaml_tab_error"
];
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 ];
};
}