1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, setuptools
6}:
7
8buildPythonPackage rec {
9 pname = "allpairspy";
10 version = "2.5.1";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "thombashi";
15 repo = pname;
16 rev = "refs/tags/v${version}";
17 hash = "sha256-0wzoQDHB7Tt80ZTlKrNxFutztsgUuin5D2eb80c4PBI=";
18 };
19
20 nativeBuildInputs = [
21 setuptools
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 pythonImportsCheck = [
29 "allpairspy"
30 ];
31
32 meta = with lib; {
33 description = "Pairwise test combinations generator";
34 homepage = "https://github.com/thombashi/allpairspy";
35 changelog = "https://github.com/thombashi/allpairspy/releases/tag/v${version}";
36 license = licenses.mit;
37 maintainers = with maintainers; [ nickcao ];
38 };
39}