Skip to content

Instantly share code, notes, and snippets.

@srhb
Created September 4, 2018 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srhb/05a7aaa3d91a007eb302fc2a5f2f6d0c to your computer and use it in GitHub Desktop.
Save srhb/05a7aaa3d91a007eb302fc2a5f2f6d0c to your computer and use it in GitHub Desktop.
let
overlay = self: super: {
opencv3 = super.opencv3.overrideAttrs (oa: rec {
version = "3.4.3";
src = self.fetchFromGitHub {
owner = "opencv";
repo = "opencv";
rev = version;
sha256 = "138q3wiv4g4xvqzsp93xaqayv7kz7bl2vrgppp8jm8w6m25cd4i2";
};
});
};
in
{ pkgs ? import <nixpkgs> { overlays = [ overlay ]; } }:
pkgs.pythonPackages.opencv3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment