xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / pygmars / default.nix
blob634788bdf9a117510aa8bd88eae0adc4eb95dbdc
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   setuptools-scm,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pygmars";
12   version = "0.9.0";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchFromGitHub {
18     owner = "nexB";
19     repo = "pygmars";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-OhmTD83p/4tCMoCXy35/0fy8Tw1usn27dJyzpOeGlkU=";
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/aboutcode-org/pygmars/blob/v${version}/CHANGELOG.rst";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };