File tree Expand file tree Collapse file tree
pkgs/by-name/de/depthai-data Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments