Added ffmpeg to opencv
This commit is contained in:
1 parent
a44d6aaddd
commit
fb816cdf83
2 files changed
+9
-4
No files matched your search
Generated
+3
-3
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729265718,
|
"lastModified": 1729595756,
|
||||||
"narHash": "sha256-4HQI+6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo=",
|
"narHash": "sha256-rNaLWDqjgy23Y6M3K/e7Kiyimq04ikDMrErpqgXWcV0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ccc0c2126893dd20963580b6478d1a10a4512185",
|
"rev": "782740762fb281404740b6b7084d356c3dab1173",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -12,7 +12,12 @@
|
|||||||
|
|
||||||
pythonPackages = pkgs.python312Packages;
|
pythonPackages = pkgs.python312Packages;
|
||||||
|
|
||||||
custom-opencv4 = pythonPackages.opencv4.override { enableGtk3 = true; };
|
custom-opencv4 = pythonPackages.opencv4.override {
|
||||||
|
enableGtk3 = true;
|
||||||
|
enableFfmpeg =
|
||||||
|
true; # here is how to add ffmpeg and other compilation flags
|
||||||
|
ffmpeg = pkgs.ffmpeg-full;
|
||||||
|
};
|
||||||
|
|
||||||
lapx = pkgs.python3Packages.buildPythonPackage rec {
|
lapx = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
version = "0.5.11";
|
version = "0.5.11";
|
||||||
|
|||||||
Reference in new issue
Block a user