biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pygmars / default.nix
blob11bd26ee953161246223603095623ca4192f8ab4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   setuptools-scm,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pygmars";
12   version = "0.8.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "nexB";
19     repo = "pygmars";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-RwAZ1ZLh0zgGshSv7LleBHMotKapDFtD69ptqQnr0EA=";
22   };
24   dontConfigure = true;
26   build-system = [ setuptools-scm ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   pythonImportsCheck = [ "pygmars" ];
32   meta = with lib; {
33     description = "Python lexing and parsing library";
34     homepage = "https://github.com/nexB/pygmars";
35     changelog = "https://github.com/nexB/pygmars/releases/tag/v${version}";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };