Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.hypothesmith: init at 0.1.8

authored by Sandro Jäckel and committed by Frederik Rietdijk c5d73ca2 701b8560

+28
+24
pkgs/development/python-modules/hypothesmith/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }: 2 + 3 + buildPythonPackage rec { 4 + pname = "hypothesmith"; 5 + version = "0.1.8"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "sha256-+f8EexXE7TEs49pX6idXD4bWtTzhKvnyXlnmV2oAQQo="; 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 + }
+4
pkgs/top-level/python-packages.nix
··· 3083 3083 3084 3084 hypothesis = if isPy3k then callPackage ../development/python-modules/hypothesis { } else self.hypothesis_4; 3085 3085 3086 + hypothesmith = callPackage ../development/python-modules/hypothesmith { 3087 + libcst = self.libcst.override { doCheck = false; }; 3088 + }; 3089 + 3086 3090 hyppo = callPackage ../development/python-modules/hyppo { }; 3087 3091 3088 3092 i3ipc = callPackage ../development/python-modules/i3ipc { };