mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
libproxy: 0.4.11 -> 0.4.13
This commit is contained in:
parent
bc295b7b9b
commit
6343616e3b
@ -1,10 +1,14 @@
|
||||
{ stdenv, fetchurl, pkgconfig, cmake, zlib, glib }:
|
||||
{ stdenv, fetchFromGitHub, 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";
|
||||
name = "libproxy-${version}";
|
||||
version = "0.4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libproxy";
|
||||
repo = "libproxy";
|
||||
rev = version;
|
||||
sha256 = "0yg4wr44ync6x3p107ic00m1l04xqhni9jn1vzvkw3nfjd0k6f92";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs
|
||||
@ -14,7 +18,10 @@ stdenv.mkDerivation rec {
|
||||
# now some optional deps, but many more are possible
|
||||
++ [ glib ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl21;
|
||||
homepage = "http://libproxy.github.io/libproxy/";
|
||||
description = "A library that provides automatic proxy configuration management";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user