1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 04:26:32 +03:00
nixpkgs/pkgs/development/python-modules/rdflib/default.nix

63 lines
1,004 B
Nix
Raw Normal View History

2021-11-05 16:14:30 +01:00
{ lib
, buildPythonPackage
2018-02-03 09:35:22 +01:00
, fetchPypi
, html5lib
2021-11-05 16:14:30 +01:00
, isodate
2018-02-03 09:35:22 +01:00
, networkx
, nose
2021-11-05 16:14:30 +01:00
, pyparsing
, tabulate
, pandas
, pytestCheckHook
, pythonOlder
, SPARQLWrapper
2018-02-03 09:35:22 +01:00
}:
buildPythonPackage rec {
pname = "rdflib";
2021-11-05 16:14:30 +01:00
version = "6.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
2018-02-03 09:35:22 +01:00
src = fetchPypi {
inherit pname version;
2021-11-05 16:14:30 +01:00
sha256 = "sha256-YTauBWABR07ir/X8W5VuYqEcOpxmuw89nAqqX7tWhU4=";
2018-02-03 09:35:22 +01:00
};
2021-11-05 16:14:30 +01:00
propagatedBuildInputs = [
isodate
html5lib
pyparsing
SPARQLWrapper
];
2018-02-03 09:35:22 +01:00
2021-11-05 16:14:30 +01:00
checkInputs = [
networkx
pandas
nose
tabulate
pytestCheckHook
];
2018-02-03 09:35:22 +01:00
2021-11-05 16:14:30 +01:00
disabledTests = [
# Requires network access
"api_key"
"BerkeleyDBTestCase"
"test_bad_password"
"test_service"
"testGuessFormatForParse"
];
2018-02-03 09:35:22 +01:00
2021-11-05 16:14:30 +01:00
pythonImportsCheck = [
"rdflib"
];
2018-02-03 09:35:22 +01:00
2021-11-05 16:14:30 +01:00
meta = with lib; {
description = "Python library for working with RDF";
homepage = "https://rdflib.readthedocs.io";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
2018-02-03 09:35:22 +01:00
};
}