From bd5f1ecd9902c74b8cc171fd1f96e653ecfbce33 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Mon, 28 Jan 2008 19:47:23 +0000 Subject: [PATCH] indilib added svn path=/nixpkgs/trunk/; revision=10352 --- pkgs/development/libraries/indilib/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/indilib/default.nix diff --git a/pkgs/development/libraries/indilib/default.nix b/pkgs/development/libraries/indilib/default.nix new file mode 100644 index 000000000000..651cb6309449 --- /dev/null +++ b/pkgs/development/libraries/indilib/default.nix @@ -0,0 +1,16 @@ +args: with args; +stdenv.mkDerivation { + name = "indilib-0.5"; + + src = fetchurl { + url = mirror://sf/indi/indilib-0.5.tar.gz; + sha256 = "02km37m3d2l8c9wnab24zm2k6a3l8h2fali74jhm4z3khwr277ad"; + }; + + propagatedBuildInputs = [cfitsio libusb zlib]; + configureFlags = "--enable-shared --disable-static"; + + meta = { + homepage = http://indi.sf.net; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a215568dfb75..f536f8d3519f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2093,6 +2093,10 @@ rec { inherit fetchurl stdenv x11 libjpeg libtiff libungif libpng bzip2; }; + indilib = import ../development/libraries/indilib { + inherit fetchurl stdenv cfitsio libusb zlib; + }; + iniparser = import ../development/libraries/iniparser { inherit fetchurl stdenv; };