nixpkgs-suyu/pkgs/development/python-modules/vdf/default.nix
2019-07-18 17:58:32 -04:00

24 lines
615 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub
, pytest, pytestcov, mock }:
buildPythonPackage rec {
pname = "vdf";
version = "3.1";
src = fetchFromGitHub {
owner = "ValvePython";
repo = pname;
rev = "v${version}";
sha256 = "19xqjq2159w2l9vaxlkickvy3zksp9ssdkvbfcfggxz31miwp1zr";
};
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 ];
};
}