libmicrohttpd: support for multiple versions
This commit is contained in:
parent
00f7db841a
commit
55da29694c
10
pkgs/development/libraries/libmicrohttpd/0.9.70.nix
Normal file
10
pkgs/development/libraries/libmicrohttpd/0.9.70.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ stdenv, callPackage, fetchurl }:
|
||||
|
||||
callPackage ./generic.nix ( rec {
|
||||
version = "0.9.70";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libmicrohttpd/libmicrohttpd-${version}.tar.gz";
|
||||
sha256 = "01vkjy89b1ylmh22dy5yza2r414nfwcfixxh3v29nvzrjv9s7l4h";
|
||||
};
|
||||
})
|
10
pkgs/development/libraries/libmicrohttpd/0.9.71.nix
Normal file
10
pkgs/development/libraries/libmicrohttpd/0.9.71.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ stdenv, callPackage, fetchurl }:
|
||||
|
||||
callPackage ./generic.nix ( rec {
|
||||
version = "0.9.71";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libmicrohttpd/libmicrohttpd-${version}.tar.gz";
|
||||
sha256 = "10mii4mifmfs3v7kgciqml7f0fj7ljp0sngrx64pnwmgbzl4bx78";
|
||||
};
|
||||
})
|
@ -1,13 +1,8 @@
|
||||
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintl }:
|
||||
{ stdenv, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintl, version, src }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmicrohttpd";
|
||||
version = "0.9.71";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libmicrohttpd/${pname}-${version}.tar.gz";
|
||||
sha256 = "10mii4mifmfs3v7kgciqml7f0fj7ljp0sngrx64pnwmgbzl4bx78";
|
||||
};
|
||||
inherit version src;
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" "info" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
@ -14289,7 +14289,9 @@ in
|
||||
|
||||
libmemcached = callPackage ../development/libraries/libmemcached { };
|
||||
|
||||
libmicrohttpd = callPackage ../development/libraries/libmicrohttpd { };
|
||||
libmicrohttpd_0_9_70 = callPackage ../development/libraries/libmicrohttpd/0.9.70.nix { };
|
||||
libmicrohttpd_0_9_71 = callPackage ../development/libraries/libmicrohttpd/0.9.71.nix { };
|
||||
libmicrohttpd = libmicrohttpd_0_9_71;
|
||||
|
||||
libmikmod = callPackage ../development/libraries/libmikmod {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreAudio;
|
||||
|
Loading…
Reference in New Issue
Block a user