pythonPackages.vdf: 3.3 → 3.4

This commit is contained in:
Kira Bruneau 2021-05-22 12:28:15 -04:00
parent 49eaf7eead
commit 388a196247

View file

@ -1,19 +1,23 @@
{ lib, buildPythonPackage, fetchFromGitHub { lib
, pytest, pytestcov, mock }: , buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "vdf"; pname = "vdf";
version = "3.3"; version = "3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ValvePython"; owner = "ValvePython";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0d9bhxdznry7kzyma00cxwjn6rqnd6vw8v5ym68k6qswgfzb569i"; hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU=";
}; };
checkInputs = [ pytest pytestcov mock ]; checkInputs = [ mock pytestCheckHook ];
checkPhase = "make test"; pythonImportsCheck = [ "vdf" ];
meta = with lib; { meta = with lib; {
description = "Library for working with Valve's VDF text format"; description = "Library for working with Valve's VDF text format";