mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
gawd: refactor, use finalAttrs pattern, update repo URL
This commit is contained in:
@@ -3,40 +3,38 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
ruamel-yaml,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "gawd";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pooya-rostami";
|
||||
owner = "sgl-umons";
|
||||
repo = "gawd";
|
||||
rev = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DCcU7vO5VApRsO+ljVs827TrHIfe3R+1/2wgBEcp1+c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ ruamel-yaml ];
|
||||
dependencies = [ ruamel-yaml ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "gawd" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/pooya-rostami/gawd/releases/tag/${version}";
|
||||
changelog = "https://github.com/sgl-umons/gawd/releases/tag/${finalAttrs.version}";
|
||||
description = "Python library and command-line tool for computing syntactic differences between two GitHub Actions workflow files";
|
||||
mainProgram = "gawd";
|
||||
homepage = "https://github.com/pooya-rostami/gawd";
|
||||
homepage = "https://github.com/sgl-umons/gawd";
|
||||
license = lib.licenses.lgpl3Only;
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user