3
0
Fork 0
forked from mirrors/nixpkgs

fastd: v18 -> v19 (#88630)

This commit is contained in:
Martin Weinelt 2020-05-23 10:21:30 +02:00 committed by GitHub
parent b2b31b6cf0
commit 1a095f7f50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,15 @@
{ stdenv, fetchgit, cmake, bison, pkgconfig
, libuecc, libsodium, libcap, json_c }:
{ stdenv, fetchFromGitHub, cmake, bison, pkgconfig
, libuecc, libsodium, libcap, json_c, openssl }:
stdenv.mkDerivation rec {
version = "18";
pname = "fastd";
version = "19";
src = fetchgit {
url = "git://git.universe-factory.net/fastd";
rev = "refs/tags/v${version}";
sha256 = "0c9v3igv3812b3jr7jk75a2np658yy00b3i4kpbpdjgvqzc1jrq8";
src = fetchFromGitHub {
owner = "Neoraider";
repo = "fastd";
rev = "v${version}";
sha256 = "1h3whjvy2n2cyvbkbg4y1z9vlrn790spzbdhj4glwp93xcykhz5i";
};
postPatch = ''
@ -17,7 +18,11 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig bison cmake ];
buildInputs = [ libuecc libsodium libcap json_c ];
buildInputs = [ libuecc libsodium libcap json_c openssl ];
cmakeFlags = [
"-DENABLE_OPENSSL=true"
];
enableParallelBuilding = true;