Skip to content

Commit a4796c3

Browse files
committed
depthai-data: 0-unstable-2025-05-22
1 parent a59f0a6 commit a4796c3

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
lib,
3+
stdenvNoCC,
4+
fetchFromGitHub,
5+
}:
6+
7+
stdenvNoCC.mkDerivation (finalAttrs: {
8+
pname = "depthai-data";
9+
# DepthAI v3.0.0-beta.1
10+
version = "0-unstable-2025-05-22";
11+
12+
src = fetchFromGitHub {
13+
owner = "phodina";
14+
repo = "depthai-data";
15+
rev = "3b7dc1d3ddde1961c5d47b5188993fc9b3860349";
16+
hash = "sha256-wdgPziAilht/e3LEjSnYPwfbNgrG22fXdA0cQ6wl4zE=";
17+
};
18+
19+
# No build phase needed, this is just data
20+
dontBuild = true;
21+
22+
installPhase = ''
23+
mkdir -p $out/share/resources
24+
cp -r * $out/share/resources/
25+
rm $out/share/resources/README.md
26+
'';
27+
28+
meta = {
29+
description = "DepthAI camera calibration and neural network data files";
30+
homepage = "https://github.com/phodina/depthai-data";
31+
license = lib.licenses.mit;
32+
platforms = lib.platforms.all;
33+
maintainers = with lib.maintainers; [ phodina ];
34+
};
35+
})

0 commit comments

Comments
 (0)