mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
ocamlnet: fixup build by bringing back nettle-3.3
This commit is contained in:
parent
e9550f290c
commit
d477bc353c
10
pkgs/development/libraries/nettle/3.3.nix
Normal file
10
pkgs/development/libraries/nettle/3.3.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ callPackage, fetchurl, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/nettle/nettle-${version}.tar.gz";
|
||||
sha256 = "07mif3af077763vc35s1x8vzhzlgqcgxh67c1xr13jnhslkjd526";
|
||||
};
|
||||
})
|
@ -1,5 +1,11 @@
|
||||
{ stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip
|
||||
, gnutls, nettle }:
|
||||
, gnutls, nettle_3_3 }:
|
||||
|
||||
# These overrides are just temporary, until ocamlnet supports nettle-3.4.
|
||||
let gnutls_orig = gnutls; in
|
||||
let gnutls = gnutls_orig.override { nettle = nettle_3_3; };
|
||||
nettle = nettle_3_3;
|
||||
in
|
||||
|
||||
let version = "4.1.4"; in
|
||||
|
||||
|
@ -10046,6 +10046,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
nettle = callPackage ../development/libraries/nettle { };
|
||||
nettle_3_3 = callPackage ../development/libraries/nettle/3.3.nix { };
|
||||
|
||||
newt = callPackage ../development/libraries/newt { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user