mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
21 lines
580 B
Nix
21 lines
580 B
Nix
|
{ lib, stdenv, toPythonModule, cmake, orocos-kdl, python, sip }:
|
||
|
|
||
|
toPythonModule (stdenv.mkDerivation {
|
||
|
pname = "pykdl";
|
||
|
inherit (orocos-kdl) version src;
|
||
|
|
||
|
sourceRoot = "source/python_orocos_kdl";
|
||
|
|
||
|
nativeBuildInputs = [ cmake ];
|
||
|
buildInputs = [ orocos-kdl ];
|
||
|
propagatedBuildInputs = [ python sip ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Kinematics and Dynamics Library (Python bindings)";
|
||
|
homepage = "https://www.orocos.org/kdl.html";
|
||
|
license = licenses.lgpl21Only;
|
||
|
maintainers = with maintainers; [ lopsided98 ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
})
|