mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-17 10:20:33 +03:00
overrides/python: init opencv-python
This commit is contained in:
parent
87c725e8db
commit
1e50686303
20
overrides/python/opencv-python/default.nix
Normal file
20
overrides/python/opencv-python/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# TODO: supply more of the dependencies instead of ignoring them
|
||||
env.autoPatchelfIgnoreMissingDeps = true;
|
||||
mkDerivation.buildInputs = [
|
||||
config.deps.libglvnd
|
||||
config.deps.glib
|
||||
];
|
||||
deps = {nixpkgs, ...}:
|
||||
lib.mapAttrs (_: lib.mkDefault) {
|
||||
inherit
|
||||
(nixpkgs)
|
||||
libglvnd
|
||||
glib
|
||||
;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user