2021-02-14 04:09:25 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hypothesmith";
|
2021-12-07 00:28:03 +01:00
|
|
|
version = "0.2.0";
|
2021-02-14 04:09:25 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-07 00:28:03 +01:00
|
|
|
sha256 = "0fb7b3fd03d76eddd4474b0561e1c2662457593a74cc300fd27e5409cd4d7922";
|
2021-02-14 04:09:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ hypothesis lark-parser libcst ];
|
|
|
|
|
|
|
|
checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "hypothesmith" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hypothesis strategies for generating Python programs, something like CSmith";
|
|
|
|
homepage = "https://github.com/Zac-HD/hypothesmith";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|