nixpkgs/pkgs/development/libraries/orocos-kdl/default.nix

29 lines
733 B
Nix
Raw Normal View History

2020-09-14 00:05:26 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, eigen }:
stdenv.mkDerivation rec {
pname = "orocos-kdl";
2021-09-16 19:58:16 +00:00
version = "1.5.1";
2020-09-14 00:05:26 +00:00
src = fetchFromGitHub {
owner = "orocos";
repo = "orocos_kinematics_dynamics";
rev = "v${version}";
2021-09-16 19:58:16 +00:00
sha256 = "15ky7vw461005axx96d0f4zxdnb9dxl3h082igyd68sbdb8r1419";
2021-06-13 22:00:13 +00:00
# Needed to build Python bindings
fetchSubmodules = true;
2020-09-14 00:05:26 +00:00
};
sourceRoot = "source/orocos_kdl";
nativeBuildInputs = [ cmake ];
2021-07-14 01:17:46 +00:00
propagatedBuildInputs = [ eigen ];
2020-09-14 00:05:26 +00:00
meta = with lib; {
description = "Kinematics and Dynamics Library";
homepage = "https://www.orocos.org/kdl.html";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ lopsided98 ];
platforms = platforms.all;
};
}