blob: 87c4be051f7e027abf97f93e6b77655c97bca4de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ pkgs, stdenv, qtbase, qttranslations, qtmultimedia, lmdb, mkDerivation, cmake }:
stdenv.mkDerivation rec {
version = "0.1.0";
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 = ''
mkdir -p $out/bin
cp nheko $out/bin/nheko
'';
}
|