about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/hypothesmith/default.nix
blob: 3ce0f068fec9fa13e7a61f4378c1fd192a66c5d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, hypothesis, lark, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:

buildPythonPackage rec {
  pname = "hypothesmith";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0fb7b3fd03d76eddd4474b0561e1c2662457593a74cc300fd27e5409cd4d7922";
  };

  propagatedBuildInputs = [ hypothesis lark 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 ];
  };
}