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