Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / hypothesmith / default.nix
blob4bf1ca8d02f7c5746f2822eeb6d32190153b287b
1 { lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:
3 buildPythonPackage rec {
4   pname = "hypothesmith";
5   version = "0.1.8";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "sha256-+f8EexXE7TEs49pX6idXD4bWtTzhKvnyXlnmV2oAQQo=";
10   };
12   propagatedBuildInputs = [ hypothesis lark-parser libcst ];
14   checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];
16   pythonImportsCheck = [ "hypothesmith" ];
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   };