python3Packages.pygmars: init at 0.7.0

This commit is contained in:
Fabian Affolter 2021-10-09 11:45:11 +02:00
parent 166770817d
commit 291d63f888
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "pygmars";
version = "0.7.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nexB";
repo = pname;
rev = "v${version}";
sha256 = "0wghk4nzplpl26iwrgvm0n9x88nyxlcxz4ywss4nwdr4hfccl28l";
};
dontConfigure = true;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pygmars"
];
meta = with lib; {
description = "Python lexing and parsing library";
homepage = "https://github.com/nexB/pygmars";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6310,6 +6310,8 @@ in {
pygls = callPackage ../development/python-modules/pygls { };
pygmars = callPackage ../development/python-modules/pygmars { };
pygments-better-html = callPackage ../development/python-modules/pygments-better-html { };
pygments = callPackage ../development/python-modules/Pygments { };