From 975ec901f6498155713aaf6d897fd9b50dce6043 Mon Sep 17 00:00:00 2001 From: kolam Date: Thu, 20 Aug 2020 11:23:22 -0400 Subject: [PATCH] pylode: init at 2.8.6 --- pkgs/misc/pylode/default.nix | 37 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/misc/pylode/default.nix diff --git a/pkgs/misc/pylode/default.nix b/pkgs/misc/pylode/default.nix new file mode 100644 index 000000000000..fb908151765c --- /dev/null +++ b/pkgs/misc/pylode/default.nix @@ -0,0 +1,37 @@ +{ lib +, python3Packages +, fetchFromGitHub +}: + +python3Packages.buildPythonApplication rec { + pname = "pyLODE"; + version = "2.8.6"; + + src = fetchFromGitHub { + owner = "RDFLib"; + repo = pname; + rev = version; + sha256 = "0zbk5lj9vlg32rmvw1himlw63kxd7sim7nzglrjs5zm6vpi4x5ch"; + }; + + propagatedBuildInputs = with python3Packages; [ + dateutil + falcon + gunicorn + isodate + jinja2 + markdown + rdflib + rdflib-jsonld + requests + six + beautifulsoup4 + ]; + + meta = with lib; { + description = "An OWL ontology documentation tool using Python and templating, based on LODE"; + homepage = "https://github.com/RDFLib/pyLODE"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ koslambrou ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9e6234e92f3..b70ac1100654 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14603,6 +14603,8 @@ in pybind11 = pythonPackages.pybind11; + pylode = callPackage ../misc/pylode {}; + python-qt = callPackage ../development/libraries/python-qt { python = python27; inherit (qt5) qmake qttools qtwebengine qtxmlpatterns;