nixpkgs/pkgs/development/python-modules/vdf/default.nix

25 lines
615 B
Nix
Raw Normal View History

2019-07-13 02:12:23 +00:00
{ stdenv, buildPythonPackage, fetchFromGitHub
, pytest, pytestcov, mock }:
buildPythonPackage rec {
pname = "vdf";
2019-08-06 23:49:32 +00:00
version = "3.2";
2019-07-13 02:12:23 +00:00
src = fetchFromGitHub {
owner = "ValvePython";
repo = pname;
rev = "v${version}";
2019-08-06 23:49:32 +00:00
sha256 = "08rb982hcwc9pr9gl0zfk9266h84fwbz097qjfkss3srwghr1247";
2019-07-13 02:12:23 +00:00
};
checkInputs = [ pytest pytestcov mock ];
checkPhase = "make test";
meta = with stdenv.lib; {
description = "Library for working with Valve's VDF text format";
homepage = https://github.com/ValvePython/vdf;
license = licenses.mit;
maintainers = with maintainers; [ metadark ];
};
}