Initial commit
This commit is contained in:
commit
980cefadd3
2 changed files with 63 additions and 0 deletions
37
flake.nix
Normal file
37
flake.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
description = "OutFox";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
packages.x86_64-linux.outfox =
|
||||
with import nixpkgs { system = "x86_64-linux"; };
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "outfox";
|
||||
version = "0.4.18";
|
||||
date = "20221026";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/TeamRizu/OutFox/releases/download/OF${version}/OutFox-LTS-${version}-Linux-64bit-date-${date}.tar.gz";
|
||||
sha256 = "sha256-g25xp0E5kqYngrU/CDog8yseq8nOZyhnRCpfBZRaWhg=";
|
||||
};
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
bzip2
|
||||
libGL
|
||||
libjack2
|
||||
libpulseaudio
|
||||
stdenv.cc.cc
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/outfox $out/bin
|
||||
mv * $out/share/outfox
|
||||
ln -s $out/share/outfox/OutFox $out/bin/outfox
|
||||
'';
|
||||
};
|
||||
defaultPackage.x86_64-linux = self.packages.x86_64-linux.outfox;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue