Unverified Commit 88778e92 authored by Fabian Affolter's avatar Fabian Affolter Committed by Michael Daniels
Browse files

python3Packages.watchfiles: modernize

parent b4dcac81
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  rustPlatform,
  anyio,

  # tests
  buildPythonPackage,
  dirty-equals,
  fetchFromGitHub,
  pytest-mock,
  pytest-timeout,
  pytestCheckHook,
  rustPlatform,
  versionCheckHook,
}:

@@ -35,9 +33,7 @@ buildPythonPackage rec {
    rustPlatform.maturinBuildHook
  ];

  dependencies = [
    anyio
  ];
  dependencies = [ anyio ];

  # Tests need these permissions in order to use the FSEvents API on macOS.
  sandboxProfile = ''
@@ -66,7 +62,7 @@ buildPythonPackage rec {
  meta = {
    description = "File watching and code reload";
    homepage = "https://watchfiles.helpmanual.io/";
    changelog = "https://github.com/samuelcolvin/watchfiles/releases/tag/v${version}";
    changelog = "https://github.com/samuelcolvin/watchfiles/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "watchfiles";