1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "vpk";
9 version = "1.4.0";
10
11 src = fetchFromGitHub {
12 owner = "ValvePython";
13 repo = "vpk";
14 rev = "v${version}";
15 hash = "sha256-SPkPb8kveAR2cN9kd2plS+TjmBYBCfa6pJ0c22l69M0=";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
21
22 meta = with lib; {
23 description = "Library for working with Valve Pak files";
24 homepage = "https://github.com/ValvePython/vpk";
25 license = licenses.mit;
26 maintainers = with maintainers; [ joshuafern ];
27 };
28}