nixpkgs/pkgs/development/python-modules/vpk/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
566 B
Nix
Raw Normal View History

2021-12-13 23:05:44 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "vpk";
2021-12-31 12:23:21 +00:00
version = "1.4.0";
2021-12-13 23:05:44 +00:00
src = fetchFromGitHub {
owner = "ValvePython";
repo = "vpk";
rev = "v${version}";
2021-12-31 12:23:21 +00:00
hash = "sha256-SPkPb8kveAR2cN9kd2plS+TjmBYBCfa6pJ0c22l69M0=";
2021-12-13 23:05:44 +00:00
};
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 ];
};
}