Unverified Commit 2cf03e24 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python311Packages.rchitect: add format

- disable on unsupported Python releases
parent 646abd9a
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -2,16 +2,20 @@
, buildPythonPackage
, fetchFromGitHub
, cffi
, six
, pytestCheckHook
, pytest-mock
, pythonOlder
, R
, rPackages
, six
}:

buildPythonPackage rec {
  pname = "rchitect";
  version = "0.4.1";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "randy3k";
@@ -21,7 +25,8 @@ buildPythonPackage rec {
  };

  postPatch = ''
    substituteInPlace setup.py --replace '"pytest-runner"' ""
    substituteInPlace setup.py \
      --replace '"pytest-runner"' ""
  '';

  propagatedBuildInputs = [