38 lines
843 B
Nix
38 lines
843 B
Nix
{
|
|
description = "video-streaming-poc devShell";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in with pkgs;
|
|
let
|
|
opencv-custom = pkgs.opencv.override {
|
|
enableGtk3 = true;
|
|
#enableCuda = true;
|
|
enablePython = true;
|
|
};
|
|
in {
|
|
devShells.default = mkShell rec {
|
|
buildInputs = [
|
|
# Meson
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
|
|
# Boost
|
|
boost
|
|
|
|
# OpenCV
|
|
opencv-custom
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|