add flake srcs

This commit is contained in:
Travis Staton 2023-02-22 16:41:01 -05:00
parent 4d7687ec92
commit 5756b051fa
7 changed files with 220 additions and 193 deletions

View file

@ -1,17 +1,11 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, libjpeg, libtiff
, libpng, libcamera, libepoxy, boost, libexif }:
{ libcamera-apps-src, lib, stdenv, fetchFromGitHub, fetchpatch, cmake
, pkg-config, libjpeg, libtiff, libpng, libcamera, libepoxy, boost, libexif }:
stdenv.mkDerivation rec {
pname = "libcamera-apps";
version = "v1.1.0";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "libcamera-apps";
rev = "4fea2eed68300dcc88e89aa30da6079d10dce822";
sha256 = "T6BpC1lEZD00TBZ7SXChKh/m+vKYnVzSTLxBHIEJYn8=";
fetchSubmodules = true;
};
src = libcamera-apps-src;
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libjpeg libtiff libcamera libepoxy boost libexif libpng ];