3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #124048 from kira-bruneau/vdf

pythonPackages.vdf: 3.3 → 3.4
This commit is contained in:
Robert Scott 2021-05-22 22:04:34 +01:00 committed by GitHub
commit fb0594026a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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