summary refs log tree commit diff
path: root/pkgs/development/libraries/libs3/default.nix
blob: 3012263cb41491dc0414f469f00c65453d332ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, curl, libxml2 }:

stdenv.mkDerivation {
  name = "libs3-2018-12-03";

  src = fetchFromGitHub {
    owner = "bji";
    repo = "libs3";
    rev = "111dc30029f64bbf82031f3e160f253a0a63c119";
    sha256 = "1ahf08hc7ql3fazfmlyj9vrhq7cvarsmgn2v8149y63zr1fl61hs";
  };

  buildInputs = [ curl libxml2 ];

  makeFlags = [ "DESTDIR=$(out)" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/bji/libs3";
    description = "A library for interfacing with amazon s3";
    license = licenses.lgpl3Plus;
    platforms = platforms.linux;
  };
}