Skip to content

Commit

Permalink
Merge branch 'devel' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jul 4, 2024
2 parents a1460b3 + 9c6727e commit 7a4a28a
Show file tree
Hide file tree
Showing 6 changed files with 577 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Nix CI"

on: [pull_request, push]

jobs:
tests:
name: "Nix build on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
os: [ubuntu]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix --accept-flake-config build -L
- run: nix --accept-flake-config run .#cachix push gepetto $(readlink result)
if: github.repository_owner == 'humanoid-path-planner'
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
50 changes: 50 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
lib,
stdenv,
cmake,
gepetto-viewer-corba,
hpp-manipulation-corba,
pkg-config,
libsForQt5,
}:

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

src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./bin
./cmake_modules
./CMakeLists.txt
./doc
./include
./package.xml
./plugins
./src
];
};

strictDeps = true;

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

doCheck = true;

meta = {
description = "Graphical utilities for constraint graphs in hpp-manipulation";
homepage = "https://github.com/humanoid-path-planner/hpp-plot";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.nim65s ];
};
}
Loading

0 comments on commit 7a4a28a

Please sign in to comment.