Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / vdf / default.nix
blob91c6fe3085f55f05d6461c94ee1b5721bd6831a6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , mock
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "vdf";
10   version = "3.4";
12   src = fetchFromGitHub {
13     owner = "ValvePython";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU=";
17   };
19   nativeCheckInputs = [ mock pytestCheckHook ];
20   pythonImportsCheck = [ "vdf" ];
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   };