libcamera: 0.1.0 → 0.2.0

This commit is contained in:
Jonathan Davies 2024-01-18 11:16:52 +00:00
parent 0c3d9f28c6
commit 159b810bea

View File

@ -1,6 +1,5 @@
{ stdenv
, fetchgit
, fetchpatch
, lib
, meson
, ninja
@ -22,25 +21,16 @@
stdenv.mkDerivation rec {
pname = "libcamera";
version = "0.1.0";
version = "0.2.0";
src = fetchgit {
url = "https://git.libcamera.org/libcamera/libcamera.git";
rev = "v${version}";
hash = "sha256-icHZtv25QvJEv0DlELT3cDxho3Oz2BJAMNKr5W4bshk=";
hash = "sha256-x0Im9m9MoACJhQKorMI34YQ+/bd62NdAPc2nWwaJAvM=";
};
outputs = [ "out" "dev" "doc" ];
patches = [
(fetchpatch {
# https://git.libcamera.org/libcamera/libcamera.git/commit/?id=6cb92b523bd60bd7718df134cc5b1eff51cf42e5
name = "libcamera-sphinx7.0-compat.patch";
url = "https://git.libcamera.org/libcamera/libcamera.git/patch/?id=6cb92b523bd60bd7718df134cc5b1eff51cf42e5";
hash = "sha256-gs0EiT3gWlmRjDim+o2C0VmnoWqEouP5pNTD4XbNSdE=";
})
];
postPatch = ''
patchShebangs utils/
'';