1{ stdenv, buildPythonPackage, fetchFromGitHub
2, pytest, pytestcov, mock }:
3
4buildPythonPackage rec {
5 pname = "vdf";
6 version = "3.2";
7
8 src = fetchFromGitHub {
9 owner = "ValvePython";
10 repo = pname;
11 rev = "v${version}";
12 sha256 = "08rb982hcwc9pr9gl0zfk9266h84fwbz097qjfkss3srwghr1247";
13 };
14
15 checkInputs = [ pytest pytestcov mock ];
16 checkPhase = "make test";
17
18 meta = with stdenv.lib; {
19 description = "Library for working with Valve's VDF text format";
20 homepage = https://github.com/ValvePython/vdf;
21 license = licenses.mit;
22 maintainers = with maintainers; [ metadark ];
23 };
24}