vpk_fuse: init package

This commit is contained in:
Mateusz Słodkowicz 2023-06-10 00:22:08 +02:00
parent cf2061e2ad
commit 7fec0a28bb
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
2 changed files with 31 additions and 0 deletions

28
pkgs/apps/vpk_fuse.nix Normal file
View File

@ -0,0 +1,28 @@
{ pkgs, lib, stdenv, fetchFromGitHub, fuse, pkg-config }:
stdenv.mkDerivation rec {
pname = "vpk_fuse";
version = "15042023";
src = fetchFromGitHub {
owner = "ElementW";
repo = "vpk_fuse";
rev = "4e7e4b78d73f9e09287079d3e62f53cbc5d04a37";
sha256 = "sha256-HoENTIHM4Nmocoh2bxxuk1ZLsq4bSUGzeKgEufsPUJA=";
};
buildInputs = [ fuse pkg-config];
installPhase = ''
mkdir -p $out/bin
install -m 755 -D vpk_fuse $out/bin/vpk_fuse
'';
meta = with lib; {
description = "A FUSE filesystem which can open Valve PacKage files (VPK).";
homepage = "https://xmake.io";
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View File

@ -19,6 +19,9 @@ rec {
polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc {};
vpk_fuse = callPackage ./apps/vpk_fuse.nix {};
xmake = callPackage ./dev/xmake {};
}