Commit 2c1ab919 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.pysmartapp: modernize

parent 4e9e5835
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
}