1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/development/libraries/libdc1394/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
709 B
Nix

{ stdenv, fetchurl, libraw1394
, libusb1, CoreServices }:
stdenv.mkDerivation rec {
pname = "libdc1394";
version = "2.2.6";
src = fetchurl {
url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz";
sha256 = "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b";
};
buildInputs = [ libusb1 ]
++ stdenv.lib.optional stdenv.isLinux libraw1394
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/libdc1394/;
description = "Capture and control API for IIDC compliant cameras";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}