pythonPackages.hypothesmith: init at 0.1.8

This commit is contained in:
Sandro Jäckel 2021-02-14 04:09:25 +01:00 committed by Frederik Rietdijk
parent 701b8560a9
commit c5d73ca2d0
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:
buildPythonPackage rec {
pname = "hypothesmith";
version = "0.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+f8EexXE7TEs49pX6idXD4bWtTzhKvnyXlnmV2oAQQo=";
};
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 ];
};
}

View File

@ -3083,6 +3083,10 @@ in {
hypothesis = if isPy3k then callPackage ../development/python-modules/hypothesis { } else self.hypothesis_4;
hypothesmith = callPackage ../development/python-modules/hypothesmith {
libcst = self.libcst.override { doCheck = false; };
};
hyppo = callPackage ../development/python-modules/hyppo { };
i3ipc = callPackage ../development/python-modules/i3ipc { };