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

25 lines
617 B
Nix
Raw Normal View History

2019-07-13 03:12:23 +01:00
{ stdenv, buildPythonPackage, fetchFromGitHub
, pytest, pytestcov, mock }:
buildPythonPackage rec {
pname = "vdf";
2020-04-27 03:35:25 +01:00
version = "3.3";
2019-07-13 03:12:23 +01:00
src = fetchFromGitHub {
owner = "ValvePython";
repo = pname;
rev = "v${version}";
2020-04-27 03:35:25 +01:00
sha256 = "0d9bhxdznry7kzyma00cxwjn6rqnd6vw8v5ym68k6qswgfzb569i";
2019-07-13 03:12:23 +01: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";
2019-07-13 03:12:23 +01:00
license = licenses.mit;
maintainers = with maintainers; [ metadark ];
};
}