matrixion/package.nix

16 lines
511 B
Nix
Raw Normal View History

{ stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
stdenv.mkDerivation rec {
2018-04-13 14:51:48 +03:00
version = "0.3.1";
name = "nheko-${version}";
2017-08-05 18:56:41 +03:00
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";
}