about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/vpk/default.nix
blob: d61a6107baada3fe94676625672849db4e7589b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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";
    homepage = "https://github.com/ValvePython/vpk";
    license = licenses.mit;
    maintainers = with maintainers; [ joshuafern ];
  };
}