You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{ stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.5.2";
|
|
|
|
name = "nheko-${version}";
|
|
|
|
src = builtins.filterSource
|
|
|
|
(path: type:
|
|
|
|
let name = baseNameOf path;
|
|
|
|
in !((type == "directory" && (name == ".git" || name == "build")) ||
|
|
|
|
(type == "symlink" && name == "result") ))
|
|
|
|
./.;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qtbase qttranslations qtmultimedia lmdb ];
|
|
|
|
installPhase = "install -Dm755 nheko $out/bin/nheko";
|
|
|
|
}
|
|
|
|
|