pythonPackages.vdf: init at 3.1

This commit is contained in:
MetaDark 2019-07-12 22:12:23 -04:00
parent c7b5cfab44
commit a3f452ed0c
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, pytest, pytestcov, mock }:
buildPythonPackage rec {
pname = "vdf";
version = "3.1";
src = fetchFromGitHub {
owner = "ValvePython";
repo = pname;
rev = "v${version}";
sha256 = "19xqjq2159w2l9vaxlkickvy3zksp9ssdkvbfcfggxz31miwp1zr";
};
checkInputs = [ pytest pytestcov mock ];
checkPhase = "make test";
meta = with stdenv.lib; {
description = "Library for working with Valve's VDF text format";
homepage = https://github.com/ValvePython/vdf;
license = licenses.mit;
maintainers = with maintainers; [ metadark ];
};
}

View File

@ -1010,6 +1010,8 @@ in {
pyunifi = callPackage ../development/python-modules/pyunifi { };
vdf = callPackage ../development/python-modules/vdf { };
vidstab = callPackage ../development/python-modules/vidstab { };
webapp2 = callPackage ../development/python-modules/webapp2 { };