python3Packages.pyngrok: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user