summary refs log tree commit diff
path: root/package.nix
blob: dce4e4b331a8bc707e1b2c3c69bdb00c5fdd8eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
stdenv.mkDerivation rec {
  version = "0.3.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 = "install -Dm755 nheko $out/bin/nheko";
}