Nixerus/pkgs/apps/vpk_fuse.nix

36 lines
705 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
fuse,
pkg-config,
}:
2023-06-10 00:22:08 +02:00
stdenv.mkDerivation {
2023-06-10 00:22:08 +02:00
pname = "vpk_fuse";
version = "15042023";
src = fetchFromGitHub {
owner = "ElementW";
repo = "vpk_fuse";
rev = "4e7e4b78d73f9e09287079d3e62f53cbc5d04a37";
sha256 = "sha256-HoENTIHM4Nmocoh2bxxuk1ZLsq4bSUGzeKgEufsPUJA=";
};
buildInputs = [
fuse
pkg-config
];
2023-06-10 00:22:08 +02:00
installPhase = ''
mkdir -p $out/bin
install -m 755 -D vpk_fuse $out/bin/vpk_fuse
2023-06-10 00:22:08 +02:00
'';
meta = with lib; {
description = "A FUSE filesystem which can open Valve PacKage files (VPK).";
2023-07-21 00:06:35 +02:00
homepage = "https://github.com/ElementW/vpk_fuse";
2023-06-10 00:22:08 +02:00
license = licenses.gpl3;
platforms = platforms.linux;
};
}