depot/third_party/nixpkgs/pkgs/development/python-modules/vpk/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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 ];
};
}