nixpkgs/pkgs/development/libraries/libproxy/default.nix
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00

21 lines
548 B
Nix

{ 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;
};
}