biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / vmprof / default.nix
blobe8b28062a829a378793275c1c335d8dd61e97adf
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   pythonAtLeast,
6   fetchFromGitHub,
7   setuptools,
8   colorama,
9   pytz,
10   requests,
11   six,
12   libunwind,
13   pytestCheckHook,
16 buildPythonPackage rec {
17   pname = "vmprof";
18   version = "0.4.17";
19   pyproject = true;
21   disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
23   src = fetchFromGitHub {
24     owner = "vmprof";
25     repo = "vmprof-python";
26     rev = "refs/tags/${version}";
27     hash = "sha256-7k6mtEdPmp1eNzB4l/k/ExSYtRJVmRxcx50ql8zR36k=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     colorama
34     requests
35     six
36     pytz
37   ];
39   buildInputs = [ libunwind ];
41   nativeCheckInputs = [ pytestCheckHook ];
43   disabledTests = [
44     "test_gzip_call"
45     "test_is_enabled"
46     "test_get_profile_path"
47     "test_get_runtime"
48   ];
50   pythonImportsCheck = [ "vmprof" ];
52   meta = with lib; {
53     description = "Vmprof client";
54     mainProgram = "vmprofshow";
55     license = licenses.mit;
56     homepage = "https://vmprof.readthedocs.org/";
57   };