Skip to content

Commit

Permalink
nix: package
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jun 30, 2024
1 parent cae8b66 commit c897098
Show file tree
Hide file tree
Showing 3 changed files with 710 additions and 39 deletions.
49 changes: 49 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
stdenv,
cmake,
gepetto-viewer-corba,
hpp-manipulation-corba,
pkg-config,
libsForQt5,
}:

stdenv.mkDerivation {
pname = "hpp-gui";
version = "5.0.0";

src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./CMakeLists.txt
./doc
./etc
./package.xml
./plugins
./pyplugins
./res
];
};

strictDeps = true;

nativeBuildInputs = [
cmake
libsForQt5.wrapQtAppsHook
pkg-config
];
buildInputs = [ libsForQt5.qtbase ];
propagatedBuildInputs = [
gepetto-viewer-corba
hpp-manipulation-corba
];

doCheck = true;

meta = {
description = "Qt based GUI for HPP project";
homepage = "https://github.com/humanoid-path-planner/hpp-gui";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.nim65s ];
};
}
Loading

0 comments on commit c897098

Please sign in to comment.