Unverified Commit 6f053b4c authored by natsukium's avatar natsukium
Browse files

python312Packages.ttls: refactor

parent a766d98a
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -2,33 +2,29 @@
  lib,
  aiohttp,
  buildPythonPackage,
  colour,
  fetchFromGitHub,
  poetry-core,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ttls";
  version = "1.9.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "jschlyter";
    repo = pname;
    repo = "ttls";
    rev = "refs/tags/v${version}";
    hash = "sha256-itGXZbQZ+HYpiwySLeGN3mPy3fgsxx0A9byOxIVpRBc=";
  };

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    colour
    setuptools
  ];

  # Module has no tests