depot/third_party/nixpkgs/pkgs/development/python-modules/vdf/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
662 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "vdf";
version = "3.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "ValvePython";
repo = pname;
rev = "v${version}";
hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU=";
};
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "vdf" ];
meta = with lib; {
description = "Library for working with Valve's VDF text format";
homepage = "https://github.com/ValvePython/vdf";
license = licenses.mit;
maintainers = with maintainers; [ kira-bruneau ];
};
}