From 5de3e8fa46043ff9e60edd29e2f338818bc98969 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 21 Apr 2015 14:49:16 -0700 Subject: [PATCH] libs3: Add derivation --- pkgs/development/libraries/libs3/default.nix | 22 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/libs3/default.nix diff --git a/pkgs/development/libraries/libs3/default.nix b/pkgs/development/libraries/libs3/default.nix new file mode 100644 index 000000000000..551f65c2971c --- /dev/null +++ b/pkgs/development/libraries/libs3/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchgit, curl, libxml2 }: + +stdenv.mkDerivation { + name = "libs3-2015-01-09"; + + src = fetchgit { + url = "git://github.com/bji/libs3.git"; + rev = "4d21fdc0857b88c964649b321057d7105d1e4da3"; + sha256 = "058sixppk078mdn9ii3swg87nbpgl86llz9mdhj5km5m53a7dnjw"; + }; + + buildInputs = [ curl libxml2 ]; + + DESTDIR = "\${out}"; + + meta = with stdenv.lib; { + homepage = https://github.com/bji/libs3; + description = "a library for interfacing with amazon s3"; + licenses = licenses.gpl3; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8fc84b30858f..1c4cf997968d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6764,6 +6764,8 @@ let librsync_0_9 = callPackage ../development/libraries/librsync/0.9.nix { }; + libs3 = callPackage ../development/libraries/libs3 { }; + libsearpc = callPackage ../development/libraries/libsearpc { }; libsigcxx = callPackage ../development/libraries/libsigcxx { };