Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
823 B
Nix
34 lines
823 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libraw1394,
|
|
libusb1,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdc1394";
|
|
version = "2.2.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-U3zreN087ycaGD9KF2GR0c7PhfAlUg5r03WLDhnmYJ8=";
|
|
};
|
|
|
|
hardeningDisable = [
|
|
# "sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates"
|
|
"trivialautovarinit"
|
|
];
|
|
|
|
buildInputs = [ libusb1 ] ++ lib.optional stdenv.hostPlatform.isLinux libraw1394;
|
|
|
|
meta = with lib; {
|
|
description = "Capture and control API for IIDC compliant cameras";
|
|
homepage = "https://sourceforge.net/projects/libdc1394/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ ];
|
|
mainProgram = "dc1394_reset_bus";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|