mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Merge pull request #105242 from RaghavSood/microhttpd/version
libmicrohttpd dependents: fix build
This commit is contained in:
commit
3a3e8e6a8b
7 changed files with 31 additions and 14 deletions
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
|
|
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 ];
|
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue