depot/third_party/nixpkgs/pkgs/development/python-modules/schema-salad/default.nix
Default email a425ba4985 Project import generated by Copybara.
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
2021-12-30 14:39:12 +01:00

55 lines
1,010 B
Nix

{ lib
, black
, buildPythonPackage
, fetchPypi
, cachecontrol
, lockfile
, mistune
, rdflib
, ruamel-yaml
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "schema-salad";
version = "8.2.20211222191353";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "bae31897a9f5c16546081811728cc20296455dc805ffd0bac0064de6cbbcbf88";
};
propagatedBuildInputs = [
cachecontrol
lockfile
mistune
rdflib
ruamel-yaml
];
checkInputs = [
black
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 ];
};
}