587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
30 lines
622 B
Nix
30 lines
622 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vpk";
|
|
version = "1.4.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ValvePython";
|
|
repo = "vpk";
|
|
rev = "v${version}";
|
|
hash = "sha256-SPkPb8kveAR2cN9kd2plS+TjmBYBCfa6pJ0c22l69M0=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for working with Valve Pak files";
|
|
mainProgram = "vpk";
|
|
homepage = "https://github.com/ValvePython/vpk";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ joshuafern ];
|
|
};
|
|
}
|