updated caching and settings
This commit is contained in:
parent
3e8e5ba6df
commit
3c187d3bfc
3 changed files with 10 additions and 14 deletions
|
|
@ -2,8 +2,8 @@
|
|||
pkgs ? import <nixpkgs> {},
|
||||
lib ? pkgs.lib,
|
||||
}: let
|
||||
python-opencv-headless = pkgs.callPackage ./python-opencv-headless {
|
||||
inherit (pkgs) lib fetchPypi;
|
||||
python-opencv-headless = pkgs.callPackage ./python-opencv-headless {
|
||||
inherit (pkgs) lib fetchurl;
|
||||
python310Packages = pkgs.python310.pkgs;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +1,16 @@
|
|||
{ lib
|
||||
, python310Packages
|
||||
, fetchPypi
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
python310Packages.buildPythonPackage rec {
|
||||
pname = "opencv-python-headless";
|
||||
version = "4.9.0.80";
|
||||
version = "4.11.0.86";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
dist = "cp310";
|
||||
abi = "cp310";
|
||||
platform = "manylinux_2_17_x86_64.manylinux2014_x86_64";
|
||||
hash = "sha256-a1uEcgIUu7qxcJCyX+4umIOGa4bsRdfgSBn6jO0PnoM=";
|
||||
src = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/dd/5c/c139a7876099916879609372bfa513b7f1257f7f1a908b0bdc1c2328241b/opencv_python_headless-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
|
||||
sha256 = "0yx58bpwl6bcsq3ikv5jzffvxyv663jcyxj9z7ghvx6ikp0jf2hf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python310Packages; [
|
||||
|
|
@ -22,8 +19,6 @@ python310Packages.buildPythonPackage rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "cv2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper package for OpenCV python bindings";
|
||||
homepage = "https://github.com/opencv/opencv-python";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue