My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/schema-salad/default.nix

70 lines
1.3 KiB

{ lib
, black
, buildPythonPackage
, fetchPypi
, setuptools-scm
, cachecontrol
, lockfile
, mistune
, rdflib
, ruamel-yaml
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "schema-salad";
version = "8.3.20220913105718";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-18/xLIq1+yM8iQBIeXvRIO4A5GqZS/3qOKXmi439+sQ=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
cachecontrol
lockfile
mistune
rdflib
ruamel-yaml
];
checkInputs = [
pytestCheckHook
] ++ passthru.optional-dependencies.pycodegen;
preCheck = ''
rm tox.ini
'';
disabledTests = [
# Setup for these tests requires network access
"test_secondaryFiles"
"test_outputBinding"
# Test requires network
"test_yaml_tab_error"
];
pythonImportsCheck = [
"schema_salad"
];
passthru.optional-dependencies = {
pycodegen = [ black ];
};
meta = with lib; {
broken = true; # disables on outdated version of mistune
description = "Semantic Annotations for Linked Avro Data";
homepage = "https://github.com/common-workflow-language/schema_salad";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ veprbl ];
};
}