xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / apipkg / default.nix
blob60a34a3e03958e5281552ba510de2fd7d8a9d243
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   hatch-vcs,
6   hatchling,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "apipkg";
12   version = "3.0.2";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "pytest-dev";
17     repo = "apipkg";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-ANLD7fUMKN3RmAVjVkcpwUH6U9ASalXdwKtPpoC8Urs=";
20   };
22   build-system = [
23     hatch-vcs
24     hatchling
25   ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pytestFlagsArray = [ "test_apipkg.py" ];
31   pythonImportsCheck = [ "apipkg" ];
33   meta = with lib; {
34     changelog = "https://github.com/pytest-dev/apipkg/blob/main/CHANGELOG";
35     description = "Namespace control and lazy-import mechanism";
36     homepage = "https://github.com/pytest-dev/apipkg";
37     license = licenses.mit;
38     maintainers = [ ];
39   };