pyedbglib, pymcuprog: use tag, support finalAttrs (#494566)

This commit is contained in:
Yohann Boniface
2026-04-06 03:20:17 +00:00
committed by GitHub
2 changed files with 6 additions and 10 deletions
@@ -16,7 +16,7 @@
mock,
}:
buildPythonPackage {
buildPythonPackage (finalAttrs: {
pname = "pyedbglib";
version = "2.24.2.18";
pyproject = true;
@@ -24,9 +24,7 @@ buildPythonPackage {
src = fetchFromGitHub {
owner = "microchip-pic-avr-tools";
repo = "pyedbglib";
# the repo currently does not tag releases, so using the
# commit ID for now
rev = "9bbeceba942772ef31b9c059b761460a782313e";
tag = finalAttrs.version;
hash = "sha256-iZB/+JEBy5n1zfajmJmEqRVQ2hPzJD/U85SvmyFiGhc=";
};
@@ -54,4 +52,4 @@ buildPythonPackage {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ prophetofxenu ];
};
}
})
@@ -21,7 +21,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage {
buildPythonPackage (finalAttrs: {
pname = "pymcuprog";
version = "3.19.4.61";
pyproject = true;
@@ -29,9 +29,7 @@ buildPythonPackage {
src = fetchFromGitHub {
owner = "microchip-pic-avr-tools";
repo = "pymcuprog";
# the repo currently does not tag releases, so using the
# commit ID for now
rev = "e2fa9a7f0b9cc413367c51b9ccf19d93cdca6c8";
tag = finalAttrs.version;
hash = "sha256-RmFGQ6LbuwwM/WHr01nYGZYoWG7Qbasz/TL4r8l1NUk";
};
@@ -66,4 +64,4 @@ buildPythonPackage {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ prophetofxenu ];
};
}
})