Unverified Commit 075e8c2c authored by Michael Daniels's avatar Michael Daniels
Browse files

treewide: change 'format = "pyproject";' to 'pyproject = true;'

This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
parent 685fda21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
buildPythonApplication {
  pname = "cambrinary";
  version = "unstable-2023-07-16";
  format = "pyproject";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "xueyuanl";
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-Mvi69FI2zRefcCnLsurdVNMxYaqKsUCKgeFxOh6vg/o=";
  };

  format = "pyproject";
  pyproject = true;

  buildInputs = [
    gtk4
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ buildPythonApplication rec {
    hash = "sha256-eNgnjErPi5q9yA/2iEg3+CoN2xbopmFOpbgU/7GhoAQ=";
  };

  format = "pyproject";
  pyproject = true;

  postPatch = ''
    # Dependencies already bundled with Python
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication rec {
    sha256 = "sha256-zjwajl+0ix4wnW0bf4MAuO9Lr9F8sBv87TIL5Ghmlxg=";
  };

  format = "pyproject";
  pyproject = true;

  propagatedBuildInputs = [
    beancount
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication rec {
    sha256 = "sha256-BW2KEC0pmervT71FBixPcQciEuGcElCd2wW7BZL1xUg=";
  };

  format = "pyproject";
  pyproject = true;

  propagatedBuildInputs = [
    beancount
Loading