fastd: 19 -> 21
This commit is contained in:
parent
d3aaae7249
commit
5a4385d4a9
@ -1,29 +1,20 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, bison, pkgconfig
|
{ stdenv, fetchFromGitHub, bison, meson, ninja, pkgconfig
|
||||||
, libuecc, libsodium, libcap, json_c, openssl }:
|
, libuecc, libsodium, libcap, json_c, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fastd";
|
pname = "fastd";
|
||||||
version = "19";
|
version = "21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Neoraider";
|
owner = "Neoraider";
|
||||||
repo = "fastd";
|
repo = "fastd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1h3whjvy2n2cyvbkbg4y1z9vlrn790spzbdhj4glwp93xcykhz5i";
|
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
nativeBuildInputs = [ pkgconfig bison meson ninja ];
|
||||||
substituteInPlace src/crypto/cipher/CMakeLists.txt \
|
|
||||||
--replace 'add_subdirectory(aes128_ctr)' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig bison cmake ];
|
|
||||||
buildInputs = [ libuecc libsodium libcap json_c openssl ];
|
buildInputs = [ libuecc libsodium libcap json_c openssl ];
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DENABLE_OPENSSL=true"
|
|
||||||
];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user