1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 02:00:41 +03:00
nixpkgs/pkgs/development/python-modules/vdf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
614 B
Nix
Raw Normal View History

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