mirror of
https://github.com/Project-Babble/Baballonia.git
synced 2026-11-20 00:51:30 -08:00
Nix Packaging is being moved to the NixPkgs repo https://github.com/NixOS/nixpkgs/pull/459868
23 lines
631 B
Nix
23 lines
631 B
Nix
{lib, stdenv, fetchFromGitHub, cmake, opencv}:
|
|
stdenv.mkDerivation rec {
|
|
name = "opencvsharp";
|
|
src = fetchFromGitHub {
|
|
owner = "shimat";
|
|
repo = "opencvsharp";
|
|
tag = "4.11.0.20250507";
|
|
hash = "sha256-CkG4Kx/AkZqyhtclMfS51a9a9R+hsqBRlM4fry32YJ0=";
|
|
};
|
|
|
|
buildInputs = [opencv];
|
|
nativeBuildInputs = [cmake];
|
|
sourceRoot = "${src.name}/src";
|
|
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") ];
|
|
|
|
meta = with lib; {
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
description = "OpenCV wrapper for .NET";
|
|
homepage = "https://github.com/shimat/opencvsharp";
|
|
};
|
|
}
|