biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / hypothesmith / default.nix
blobc53c3c2e3670c74c53f3aa3b9d4f678ae9c9acd2
2   lib,
3   black,
4   buildPythonPackage,
5   fetchPypi,
6   hypothesis,
7   lark,
8   libcst,
9   parso,
10   pytestCheckHook,
11   pytest-cov-stub,
12   pytest-xdist,
13   pythonOlder,
14   setuptools,
17 buildPythonPackage rec {
18   pname = "hypothesmith";
19   version = "0.3.3";
20   pyproject = true;
22   disabled = pythonOlder "3.9";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-lsFIAtbI6F2JdSZBdoeNtUso0u2SH9v+3C5rjOPIFxY=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     hypothesis
33     lark
34     libcst
35   ];
37   nativeCheckInputs = [
38     black
39     parso
40     pytestCheckHook
41     pytest-cov-stub
42     pytest-xdist
43   ];
45   disabledTests = [
46     # super slow
47     "test_source_code_from_libcst_node_type"
48   ];
50   pythonImportsCheck = [ "hypothesmith" ];
52   meta = with lib; {
53     description = "Hypothesis strategies for generating Python programs, something like CSmith";
54     homepage = "https://github.com/Zac-HD/hypothesmith";
55     changelog = "https://github.com/Zac-HD/hypothesmith/blob/master/CHANGELOG.md";
56     license = licenses.mpl20;
57     maintainers = [ ];
58   };