lol
at 24.11-pre 24 lines 822 B view raw
1{ lib, stdenv, fetchurl, pkg-config, libraw1394, argp-standalone }: 2 3stdenv.mkDerivation rec { 4 pname = "libavc1394"; 5 version = "0.5.4"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libavc1394/${pname}-${version}.tar.gz"; 9 sha256 = "0lsv46jdqvdx5hx92v0z2cz3yh6212pz9gk0k3513sbaa04zzcbw"; 10 }; 11 12 buildInputs = lib.optional stdenv.hostPlatform.isMusl argp-standalone; 13 nativeBuildInputs = [ pkg-config ]; 14 propagatedBuildInputs = [ libraw1394 ]; 15 16 NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-largp"; 17 18 meta = { 19 description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set"; 20 homepage = "https://sourceforge.net/projects/libavc1394/"; 21 license = lib.licenses.lgpl21Plus; 22 platforms = lib.platforms.linux; 23 }; 24}