Merge pull request #65787 from rawkode/feature/qtwrap-nheko

nheko: use qt5's mkDerivation
This commit is contained in:
worldofpeace 2019-08-09 13:12:21 -04:00 committed by GitHub
commit ededb06332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub
, cmake, cmark, lmdb, qt5, qtmacextras, mtxclient
, boost, spdlog, olm, pkgconfig, nlohmann_json
, cmake, cmark, lmdb, mkDerivation, qtbase, qtmacextras
, qtmultimedia, qttools, mtxclient, boost, spdlog, olm, pkgconfig
, nlohmann_json
}:
# These hashes and revisions are based on those from here:
@ -20,7 +21,7 @@ let
sha256 = "1whsc5cybf9rmgyaj6qjji03fv5jbgcgygp956s3835b9f9cjg1n";
};
in
stdenv.mkDerivation rec {
mkDerivation rec {
name = "nheko-${version}";
version = "0.6.4";
@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
buildInputs = [
mtxclient olm boost lmdb spdlog cmark
qt5.qtbase qt5.qtmultimedia qt5.qttools
qtbase qtmultimedia qttools
] ++ lib.optional stdenv.isDarwin qtmacextras;
enableParallelBuilding = true;