Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / chispa / default.nix
blob37e804c718942a7fa7d78129bf93e9014c24c676
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "chispa";
11   version = "0.10.0";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "MrPowers";
18     repo = "chispa";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-r3/Uae/Bu/+ZpWt19jetfIRpew1hBB24WWQRJIcYqFs=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     setuptools
29   ];
31   # Tests require a spark installation
32   doCheck = false;
34   # pythonImportsCheck needs spark installation
36   meta = with lib; {
37     description = "PySpark test helper methods with beautiful error messages";
38     homepage = "https://github.com/MrPowers/chispa";
39     license = licenses.mit;
40     maintainers = with maintainers; [ ratsclub ];
41   };