nixos-config/pkgs/backscrub/default.nix
Erwin Boskma 4cd0f83ce8
Some checks failed
/ check (push) Failing after 2m46s
Run nixfmt
2024-02-05 11:46:52 +01:00

36 lines
586 B
Nix

{
stdenv,
fetchFromGitHub,
cmake,
opencv,
gcc,
curl,
git,
tensorflow-lite,
flatbuffers,
}:
stdenv.mkDerivation {
name = "backscrub";
pname = "backscrub";
src = fetchFromGitHub {
owner = "floe";
repo = "backscrub";
rev = "9de1512e191d67f9b7451447cc232b56e8666907";
fetchSubmodules = false;
sha256 = "14gd77m7dy0wg15y0i8zhki8cm7np2spx7yi162b2xqaav04b1cj";
};
nativeBuildInputs = [
gcc
cmake
git
];
buildInputs = [
opencv
curl
tensorflow-lite
flatbuffers
];
patches = [ ./fix-cmake-for-nixos.patch ];
}