nixos-config/pkgs/backscrub/default.nix

37 lines
583 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{
stdenv,
fetchFromGitHub,
cmake,
opencv,
gcc,
curl,
git,
tensorflow-lite,
flatbuffers,
2022-03-01 22:19:03 +01:00
}:
2021-12-06 09:58:39 +01:00
stdenv.mkDerivation {
name = "backscrub";
pname = "backscrub";
src = fetchFromGitHub {
owner = "floe";
repo = "backscrub";
2022-01-06 12:30:32 +01:00
rev = "9de1512e191d67f9b7451447cc232b56e8666907";
2021-12-06 09:58:39 +01:00
fetchSubmodules = false;
hash = "sha256-koVFwFYKd7GECdGffrW49lSG4oQfReBLeBz4duo57ZE=";
2021-12-06 09:58:39 +01:00
};
2024-02-05 11:46:52 +01:00
nativeBuildInputs = [
gcc
cmake
git
];
buildInputs = [
opencv
curl
tensorflow-lite
flatbuffers
];
patches = [ ./fix-cmake-for-nixos.patch ];
2021-12-06 09:58:39 +01:00
}