diff --git a/pkgs/development/python-modules/vpk/default.nix b/pkgs/development/python-modules/vpk/default.nix new file mode 100644 index 000000000000..a65aacd4eb2c --- /dev/null +++ b/pkgs/development/python-modules/vpk/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "vpk"; + version = "1.3.3"; + + src = fetchFromGitHub { + owner = "ValvePython"; + repo = "vpk"; + rev = "v${version}"; + hash = "sha256-kFKu4fuclanMdlfA/2ZccglM7rSzaq9BbbSaKuIN+Pk="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f38132cac2ba..679625d51a6c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10014,6 +10014,8 @@ in { vowpalwabbit = callPackage ../development/python-modules/vowpalwabbit { }; + vpk = callPackage ../development/python-modules/vpk { }; + vsts = callPackage ../development/python-modules/vsts { }; vsts-cd-manager = callPackage ../development/python-modules/vsts-cd-manager { };