Skip to content

Commit d223d7d

Browse files
committed
Merge branch 'devel' into pre-commit-ci-update-config
2 parents af5f401 + 445673e commit d223d7d

File tree

8 files changed

+398
-3
lines changed

8 files changed

+398
-3
lines changed

.github/workflows/nix.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Nix CI"
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
tests:
7+
name: "Nix build on ${{ matrix.os }}"
8+
runs-on: "${{ matrix.os }}-latest"
9+
strategy:
10+
matrix:
11+
os: [ubuntu]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: DeterminateSystems/nix-installer-action@main
15+
- uses: DeterminateSystems/magic-nix-cache-action@main
16+
- run: nix --accept-flake-config build -L
17+
- run: nix --accept-flake-config run .#cachix push gepetto $(readlink result)
18+
if: github.repository_owner == 'humanoid-path-planner'
19+
env:
20+
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

COPYING renamed to LICENSE

File renamed without changes.

default.nix

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
lib,
3+
stdenv,
4+
cmake,
5+
hpp-core,
6+
hpp-template-corba,
7+
pkg-config,
8+
psmisc,
9+
python3Packages,
10+
}:
11+
12+
python3Packages.buildPythonPackage {
13+
pname = "hpp-corbaserver";
14+
version = "5.0.0";
15+
pyproject = false;
16+
17+
src = lib.fileset.toSource {
18+
root = ./.;
19+
fileset = lib.fileset.unions [
20+
./cmake-modules
21+
./CMakeLists.txt
22+
./doc
23+
./idl
24+
./include
25+
./package.xml
26+
./src
27+
./tests
28+
];
29+
};
30+
31+
prePatch = ''
32+
substituteInPlace tests/hppcorbaserver.sh \
33+
--replace-fail /bin/bash ${stdenv.shell}
34+
'';
35+
36+
nativeBuildInputs = [
37+
cmake
38+
pkg-config
39+
];
40+
propagatedBuildInputs = [
41+
hpp-core
42+
hpp-template-corba
43+
python3Packages.omniorbpy
44+
];
45+
checkInputs = [ psmisc ];
46+
47+
enableParallelBuilding = false;
48+
49+
doCheck = true;
50+
51+
pythonImportsCheck = [ "hpp.corbaserver" ];
52+
53+
meta = {
54+
description = "Corba server for Humanoid Path Planner applications";
55+
homepage = "https://github.com/humanoid-path-planner/hpp-corbaserver";
56+
license = lib.licenses.bsd2;
57+
maintainers = [ lib.maintainers.nim65s ];
58+
};
59+
}

flake.lock

Lines changed: 256 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)