Commit 4aa4bc22 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python311Packages.fhir-py: modernize

parent 21d6cb90
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  requests,
  pytestCheckHook,
  pytest-asyncio,
  pytest-cov-stub,
  responses,
}:

@@ -26,15 +27,9 @@ buildPythonPackage rec {
    hash = "sha256-kYqoRso1ypN5novRxMMzz1h2NGNybbw5lK4+HErG79I=";
  };

  preBuild = ''
    substituteInPlace pyproject.toml  \
      --replace "--cov=fhirpy" ""  \
      --replace "--cov-report=xml" ""
  '';
  build-system = [ flit-core ];

  nativeBuildInputs = [ flit-core ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    pytz
    requests
@@ -43,6 +38,7 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
    pytest-cov-stub
    responses
  ];