Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / vdf / default.nix
blob846aa7a13dfc65002b819528525e82eef2cc5485
1 { lib, buildPythonPackage, fetchFromGitHub
2 , pytest, pytestcov, mock }:
4 buildPythonPackage rec {
5   pname = "vdf";
6   version = "3.3";
8   src = fetchFromGitHub {
9     owner = "ValvePython";
10     repo = pname;
11     rev = "v${version}";
12     sha256 = "0d9bhxdznry7kzyma00cxwjn6rqnd6vw8v5ym68k6qswgfzb569i";
13   };
15   checkInputs = [ pytest pytestcov mock ];
16   checkPhase = "make test";
18   meta = with 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   };