nixpkgs/pkgs/by-name/or/orocos-kdl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
738 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 = "${src.name}/orocos_kdl";
2020-09-14 00:05:26 +00:00
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;
};
}