datalad: fix changed hash from upstream (#364015)
[NixPkgs.git] / pkgs / development / python-modules / chispa / default.nix
blob27369e9d76c7b0665402dad39db9a9fe97ec7b6d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pythonOlder,
7   setuptools,
8   prettytable,
9 }:
11 buildPythonPackage rec {
12   pname = "chispa";
13   version = "0.10.1";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "MrPowers";
20     repo = "chispa";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-WPtn8YGlj67MEy2onxoU5SctQ7NcvTImaU0VgMoz2B4=";
23   };
25   build-system = [ poetry-core ];
27   dependencies = [
28     setuptools
29     prettytable
30   ];
32   # Tests require a spark installation
33   doCheck = false;
35   # pythonImportsCheck needs spark installation
37   meta = with lib; {
38     description = "PySpark test helper methods with beautiful error messages";
39     homepage = "https://github.com/MrPowers/chispa";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ratsclub ];
42   };