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

25 lines
607 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub
2019-07-13 03:12:23 +01:00
, 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 lib; {
2019-07-13 03:12:23 +01:00
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 ];
};
}