571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
822 B
Nix
25 lines
822 B
Nix
{ lib, stdenv, fetchurl, pkg-config, libraw1394, argp-standalone }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libavc1394";
|
|
version = "0.5.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libavc1394/${pname}-${version}.tar.gz";
|
|
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/";
|
|
license = lib.licenses.lgpl21Plus;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|