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