Merge pull request #105242 from RaghavSood/microhttpd/version

libmicrohttpd dependents: fix build
This commit is contained in:
Raghav Sood 2020-12-04 05:37:48 +00:00 committed by GitHub
commit 3a3e8e6a8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 14 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub
, llvm, qt48Full, qrencode, libmicrohttpd, libjack2, alsaLib, faust, curl
, llvm, qt48Full, qrencode, libmicrohttpd_0_9_70, libjack2, alsaLib, faust, curl
, bc, coreutils, which, libsndfile, pkg-config
}:
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
llvm qt48Full qrencode libmicrohttpd libjack2 alsaLib faust curl
llvm qt48Full qrencode libmicrohttpd_0_9_70 libjack2 alsaLib faust curl
bc coreutils which libsndfile pkg-config
];

View file

@ -1,5 +1,5 @@
{ stdenv, stdenvGcc6, lib
, fetchFromGitHub, cmake, libmicrohttpd, openssl
, fetchFromGitHub, cmake, libmicrohttpd_0_9_70, openssl
, opencl-headers, ocl-icd, hwloc, cudatoolkit
, devDonationLevel ? "0.0"
, cudaSupport ? false
@ -27,7 +27,7 @@ stdenv'.mkDerivation rec {
++ lib.optional (!openclSupport) "-DOpenCL_ENABLE=OFF";
nativeBuildInputs = [ cmake ];
buildInputs = [ libmicrohttpd openssl hwloc ]
buildInputs = [ libmicrohttpd_0_9_70 openssl hwloc ]
++ lib.optional cudaSupport cudatoolkit
++ lib.optionals openclSupport [ opencl-headers ocl-icd ];

View 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";
};
})

View 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";
};
})

View file

@ -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 ];

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchgit, pkgconfig, git, libmicrohttpd }:
{ stdenv, lib, fetchgit, pkgconfig, git, libmicrohttpd_0_9_70 }:
stdenv.mkDerivation rec {
pname = "fileshare";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig git ];
buildInputs = [ libmicrohttpd ];
buildInputs = [ libmicrohttpd_0_9_70 ];
makeFlags = [ "BUILD=release" ];

View file

@ -14362,7 +14362,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;