1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 wheel,
7 ruamel-yaml,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "gawd";
13 version = "1.1.1";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "pooya-rostami";
18 repo = "gawd";
19 rev = version;
20 hash = "sha256-DCcU7vO5VApRsO+ljVs827TrHIfe3R+1/2wgBEcp1+c=";
21 };
22
23 nativeBuildInputs = [
24 setuptools
25 wheel
26 ];
27
28 propagatedBuildInputs = [ ruamel-yaml ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 pythonImportsCheck = [ "gawd" ];
33
34 meta = {
35 changelog = "https://github.com/pooya-rostami/gawd/releases/tag/${version}";
36 description = "Python library and command-line tool for computing syntactic differences between two GitHub Actions workflow files";
37 mainProgram = "gawd";
38 homepage = "https://github.com/pooya-rostami/gawd";
39 license = lib.licenses.lgpl3Only;
40 maintainers = with lib.maintainers; [ ];
41 };
42}