mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
15 lines
511 B
Nix
15 lines
511 B
Nix
{ 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";
|
|
}
|
|
|