at 24.05-pre 620 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mock 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "vdf"; 10 version = "3.4"; 11 12 src = fetchFromGitHub { 13 owner = "ValvePython"; 14 repo = pname; 15 rev = "v${version}"; 16 hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU="; 17 }; 18 19 nativeCheckInputs = [ mock pytestCheckHook ]; 20 pythonImportsCheck = [ "vdf" ]; 21 22 meta = with lib; { 23 description = "Library for working with Valve's VDF text format"; 24 homepage = "https://github.com/ValvePython/vdf"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ kira-bruneau ]; 27 }; 28}