summary refs log tree commit diff
path: root/pkgs/development/libraries/libproxy/default.nix
blob: 4c9733c6a5e5d3f184196fb3b2fe503c68c6bc52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, pkgconfig, cmake, zlib, glib }:

stdenv.mkDerivation rec {
  name = "libproxy-0.4.11";
  src = fetchurl {
    url = "http://libproxy.googlecode.com/files/${name}.tar.gz";
    sha256 = "0jw6454gxjykmbnbh544axi8hzz9gmm4jz1y5gw1hdqnakg36gyw";
  };

  outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs

  nativeBuildInputs = [ pkgconfig cmake ];
  propagatedBuildInputs = [ zlib ]
    # now some optional deps, but many more are possible
    ++ [ glib ];

  meta = {
    platforms = stdenv.lib.platforms.linux;
  };
}