1{ lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:
2
3buildPythonPackage rec {
4 pname = "hypothesmith";
5 version = "0.1.9";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "039fd6aa0102f89df9df7ad4cff70aa8068678c13c3be2713c92568917317a04";
10 };
11
12 propagatedBuildInputs = [ hypothesis lark-parser libcst ];
13
14 checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];
15
16 pythonImportsCheck = [ "hypothesmith" ];
17
18 meta = with lib; {
19 description = "Hypothesis strategies for generating Python programs, something like CSmith";
20 homepage = "https://github.com/Zac-HD/hypothesmith";
21 license = licenses.mpl20;
22 maintainers = with maintainers; [ SuperSandro2000 ];
23 };
24}