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