python313Packages.pysmartapp: modernize

This commit is contained in:
Fabian Affolter
2025-11-23 12:48:23 +01:00
parent 4e9e58352c
commit 2c1ab91963
@@ -5,24 +5,24 @@
httpsig,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pysmartapp";
version = "0.3.5";
format = "setuptools";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub {
owner = "andrewsayre";
repo = "pysmartapp";
rev = version;
tag = version;
hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY=";
};
propagatedBuildInputs = [ httpsig ];
build-system = [ setuptools ];
dependencies = [ httpsig ];
nativeCheckInputs = [
pytest-asyncio
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python implementation to work with SmartApp lifecycle events";
homepage = "https://github.com/andrewsayre/pysmartapp";
changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}";
license = with licenses; [ mit ];
changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}