about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-05-22 22:04:34 +0100
committerGitHub <noreply@github.com>2021-05-22 22:04:34 +0100
commitfb0594026a46b6994232964e4a9b001eeb7e64cd (patch)
tree5b1060639fb023f5b1f157ef0a92359d6f1e9a5a /pkgs
parent9cab80ce4d0c83d366e614f73158beb3ba09bb66 (diff)
parent388a1962470e1e48e60ff2905f94dd5860897113 (diff)
Merge pull request #124048 from kira-bruneau/vdf
pythonPackages.vdf: 3.3 → 3.4
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/vdf/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/vdf/default.nix b/pkgs/development/python-modules/vdf/default.nix
index c0573ac62308b..70ddf7bec97ab 100644
--- a/pkgs/development/python-modules/vdf/default.nix
+++ b/pkgs/development/python-modules/vdf/default.nix
@@ -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";