mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
xtreemfs: fix build with openssl-1.1
This commit is contained in:
parent
141b7210cb
commit
47723057e5
1 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, boost, fuse, openssl, cmake, attr, jdk, ant, which, file, python
|
{ stdenv, boost, fuse, openssl, cmake, attr, jdk, ant, which, file, python
|
||||||
, lib, valgrind, makeWrapper, fetchFromGitHub }:
|
, lib, valgrind, makeWrapper, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -15,6 +15,14 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ which attr makeWrapper python ];
|
buildInputs = [ which attr makeWrapper python ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/xtreemfs/xtreemfs/commit/ebfdc2fff56c09f310159d92026883941e42a953.patch";
|
||||||
|
sha256 = "075w00ad88qm6xpm5679m0gfzkrc53w17sk7ycybf4hzxjs29ygy";
|
||||||
|
name = "xtreemfs-fix-for-openssl_1_1";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export JAVA_HOME=${jdk}
|
export JAVA_HOME=${jdk}
|
||||||
export ANT_HOME=${ant}
|
export ANT_HOME=${ant}
|
||||||
|
@ -66,6 +74,5 @@ stdenv.mkDerivation {
|
||||||
maintainers = with lib.maintainers; [ raskin matejc ];
|
maintainers = with lib.maintainers; [ raskin matejc ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
broken = true; # does not support openssl 1.1
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue