From b30b5a192e06ddd8332e470d5d23fe33ba297868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 3 May 2012 07:38:58 +0000 Subject: [PATCH] Adding libdc1394 svn path=/nixpkgs/trunk/; revision=33975 --- .../libraries/libdc1394/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/libdc1394/default.nix diff --git a/pkgs/development/libraries/libdc1394/default.nix b/pkgs/development/libraries/libdc1394/default.nix new file mode 100644 index 00000000000..11a3e34d978 --- /dev/null +++ b/pkgs/development/libraries/libdc1394/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, libraw1394, libusb1 }: + +stdenv.mkDerivation rec { + name = "libdc1394-2.2.0"; + + src = fetchurl { + url = "mirror://sourceforge/libdc1394/${name}.tar.gz"; + sha256 = "0v7y8r8zxpkcw8fhwr6x08wkbpfzs5snw5s589fpqmn569f1grn6"; + }; + + buildInputs = [ libraw1394 libusb1 ]; + + meta = { + homepage = http://sourceforge.net/projects/libdc1394/; + description = "Capture and control API for IIDC compliant cameras"; + maintainers = [ stdenv.lib.maintainers.viric ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bdc7392f930..e112c908196 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3995,6 +3995,8 @@ let libdbusmenu_qt = callPackage ../development/libraries/libdbusmenu-qt { }; + libdc1394 = callPackage ../development/libraries/libdc1394 { }; + libdevil = callPackage ../development/libraries/libdevil { }; libdiscid = callPackage ../development/libraries/libdiscid { };