2013-04-03 13:13:11 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, zlib, glib }:
|
2009-06-03 12:28:25 +00:00
|
|
|
|
2011-04-15 04:58:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-04-03 13:13:11 +00:00
|
|
|
name = "libproxy-0.4.11";
|
2009-06-03 12:28:25 +00:00
|
|
|
src = fetchurl {
|
2011-04-15 04:58:17 +00:00
|
|
|
url = "http://libproxy.googlecode.com/files/${name}.tar.gz";
|
2013-04-03 13:13:11 +00:00
|
|
|
sha256 = "0jw6454gxjykmbnbh544axi8hzz9gmm4jz1y5gw1hdqnakg36gyw";
|
2009-06-03 12:28:25 +00:00
|
|
|
};
|
2013-04-03 13:13:11 +00:00
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs
|
2015-10-06 10:28:29 +00:00
|
|
|
|
2013-04-03 13:13:11 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
propagatedBuildInputs = [ zlib ]
|
|
|
|
# now some optional deps, but many more are possible
|
|
|
|
++ [ glib ];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2009-06-03 12:28:25 +00:00
|
|
|
}
|