python3Packages.pyngrok: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-06 15:06:38 +02:00
committed by GitHub
parent 3b0d95e89e
commit acf7d2aee4
@@ -6,31 +6,27 @@
pyyaml,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pyngrok";
version = "8.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-bnqvkLQwhq0lUIoRIkI2CAA/cS2ZiDGd33vlBDECgQE=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
pyyaml
];
dependencies = [ pyyaml ];
pythonImportsCheck = [ "pyngrok" ];
meta = {
description = "Python wrapper for ngrok";
homepage = "https://github.com/alexdlaird/pyngrok";
changelog = "https://github.com/alexdlaird/pyngrok/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/alexdlaird/pyngrok/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ wegank ];
};
}
})