1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/melodic/knowledge-representation/default.nix

28 lines
1.1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, catkin, libpqxx, postgresql, python, pythonPackages, roslint, rosunit }:
buildRosPackage {
pname = "ros-melodic-knowledge-representation";
version = "0.9.4-r1";
src = fetchurl {
url = "https://github.com/utexas-bwi-gbp/knowledge_representation-release/archive/release/melodic/knowledge_representation/0.9.4-1.tar.gz";
name = "0.9.4-1.tar.gz";
sha256 = "9d78c86fd031e08f16d5c2592b9f6d24a4d91f97a8c894752727c37ea292820d";
};
buildType = "catkin";
buildInputs = [ roslint ];
checkInputs = [ rosunit ];
propagatedBuildInputs = [ boost libpqxx postgresql python pythonPackages.pillow ];
nativeBuildInputs = [ catkin pythonPackages.setuptools ];
meta = {
description = ''APIs for storing and querying information about the world.
Provides C++ and Python API's to make getting facts in and out easy (while still exposing a full SQL interface).
Supports PostgreSQL and MySQL backends.'';
license = with lib.licenses; [ bsdOriginal ];
};
}