pkgsMusl.libavc1394: fix build (#202848)

This commit is contained in:
Yureka 2022-11-26 07:14:33 +01:00 committed by GitHub
parent fd538cf515
commit 6b86759692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, libraw1394 }:
{ lib, stdenv, fetchurl, pkg-config, libraw1394, argp-standalone }:
stdenv.mkDerivation rec {
pname = "libavc1394";
@ -9,9 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0lsv46jdqvdx5hx92v0z2cz3yh6212pz9gk0k3513sbaa04zzcbw";
};
buildInputs = lib.optional stdenv.hostPlatform.isMusl argp-standalone;
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ libraw1394 ];
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-largp";
meta = {
description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set";
homepage = "https://sourceforge.net/projects/libavc1394/";