lib.packagesFromDirectoryRecursive: Improved documentation (#359898)
[NixPkgs.git] / pkgs / by-name / or / orocos-kdl / package.nix
blob05a3cefaecebb83a93a19ba9a1005c4f43e8e2c9
1 { lib, stdenv, fetchFromGitHub, cmake, eigen }:
3 stdenv.mkDerivation rec {
4   pname = "orocos-kdl";
5   version = "1.5.1";
7   src = fetchFromGitHub {
8     owner = "orocos";
9     repo = "orocos_kinematics_dynamics";
10     rev = "v${version}";
11     sha256 = "15ky7vw461005axx96d0f4zxdnb9dxl3h082igyd68sbdb8r1419";
12     # Needed to build Python bindings
13     fetchSubmodules = true;
14   };
16   sourceRoot = "${src.name}/orocos_kdl";
18   nativeBuildInputs = [ cmake ];
19   propagatedBuildInputs = [ eigen ];
21   meta = with lib; {
22     description = "Kinematics and Dynamics Library";
23     homepage = "https://www.orocos.org/kdl.html";
24     license = licenses.lgpl21Only;
25     maintainers = with maintainers; [ lopsided98 ];
26     platforms = platforms.all;
27   };