mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-16 10:14:06 +00:00
37 lines
715 B
Nix
37 lines
715 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "vpk";
|
|
version = "1.4.0";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ValvePython";
|
|
repo = "vpk";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-SPkPb8kveAR2cN9kd2plS+TjmBYBCfa6pJ0c22l69M0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "vpk" ];
|
|
|
|
meta = {
|
|
description = "Library for working with Valve Pak files";
|
|
mainProgram = "vpk";
|
|
homepage = "https://github.com/ValvePython/vpk";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
})
|