nixpkgs/pkgs/development/python-modules/vpk/default.nix
2021-12-31 04:23:21 -08:00

28 lines
566 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "vpk";
version = "1.4.0";
src = fetchFromGitHub {
owner = "ValvePython";
repo = "vpk";
rev = "v${version}";
hash = "sha256-SPkPb8kveAR2cN9kd2plS+TjmBYBCfa6pJ0c22l69M0=";
};
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Library for working with Valve Pak files";
homepage = "https://github.com/ValvePython/vpk";
license = licenses.mit;
maintainers = with maintainers; [ joshuafern ];
};
}