mirror of https://github.com/Nheko-Reborn/nheko
Add basic nix expressions (#47)
Allows `nix-build` for basic building and `nix-env -f . -i` for installing.pull/1/head
parent
ccc69ece9e
commit
486676f248
@ -0,0 +1,3 @@ |
||||
with import <nixpkgs> {}; |
||||
qt59.callPackage ./package.nix {} |
||||
|
@ -0,0 +1,13 @@ |
||||
{ pkgs, stdenv, qtbase, qttranslations, lmdb, mkDerivation, cmake }: |
||||
stdenv.mkDerivation rec { |
||||
version = "0.1.0"; |
||||
name = "nheko-${version}"; |
||||
src = ./.; |
||||
nativeBuildInputs = [ cmake ]; |
||||
buildInputs = [ qtbase qttranslations lmdb ]; |
||||
installPhase = '' |
||||
mkdir -p $out/bin |
||||
cp nheko $out/bin/nheko |
||||
''; |
||||
} |
||||
|
Loading…
Reference in new issue