mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
29 lines
614 B
Nix
29 lines
614 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vdf";
|
|
version = "3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ValvePython";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-6ozglzZZNKDtADkHwxX2Zsnkh6BE8WbcRcC9HkTTgPU=";
|
|
};
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
}
|