Unverified Commit ec6994d3 authored by TomaSajt's avatar TomaSajt
Browse files

pkgs/by-name/{o,p,q}*: migrate to pyproject = true

parent 90c068fb
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ in
py.pkgs.buildPythonApplication rec {
  pname = "oci-cli";
  version = "3.62.1";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "oracle";
@@ -37,7 +37,11 @@ py.pkgs.buildPythonApplication rec {

  nativeBuildInputs = [ installShellFiles ];

  propagatedBuildInputs = with py.pkgs; [
  build-system = with py.pkgs; [
    setuptools
  ];

  dependencies = with py.pkgs; [
    arrow
    certifi
    click
@@ -55,6 +59,7 @@ py.pkgs.buildPythonApplication rec {
  ];

  pythonRelaxDeps = [
    "click"
    "PyYAML"
    "cryptography"
    "oci"
+7 −3
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
python3.pkgs.buildPythonApplication rec {
  pname = "onioncircuits";
  version = "0.8.1";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitLab {
    domain = "gitlab.tails.boum.org";
@@ -25,10 +25,14 @@ python3.pkgs.buildPythonApplication rec {
    gobject-introspection
    intltool
    wrapGAppsHook3
    python3.pkgs.distutils-extra
  ];

  propagatedBuildInputs = with python3.pkgs; [
  build-system = with python3.pkgs; [
    setuptools
    distutils-extra
  ];

  dependencies = with python3.pkgs; [
    pygobject3
    stem
  ];
+7 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec {
  pname = "onlykey-cli";
  version = "1.2.10";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit version;
@@ -16,10 +16,14 @@ python3Packages.buildPythonApplication rec {
  };

  build-system = with python3Packages; [
    cython
    setuptools
  ];

  propagatedBuildInputs = with python3Packages; [
  pythonRemoveDeps = [
    "Cython" # don't know why cython is listed as a runtime dependency, let's just remove it
  ];

  dependencies = with python3Packages; [
    aenum
    ecdsa
    hidapi
+8 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
}:

python3Packages.buildPythonApplication {
  format = "setuptools";
  pyproject = true;
  pname = "opensnitch-ui";

  inherit (opensnitch) src version;
@@ -18,7 +18,6 @@ python3Packages.buildPythonApplication {
  '';

  nativeBuildInputs = [
    python3Packages.pyqt5
    qt5.wrapQtAppsHook
  ];

@@ -26,6 +25,11 @@ python3Packages.buildPythonApplication {
    qt5.qtwayland
  ];

  build-system = with python3Packages; [
    setuptools
    pyqt5
  ];

  dependencies = with python3Packages; [
    grpcio-tools
    notify2
@@ -59,6 +63,8 @@ python3Packages.buildPythonApplication {
  # All tests are sandbox-incompatible and disabled for now
  doCheck = false;

  pythonImportsCheck = [ "opensnitch" ];

  meta = {
    description = "Application firewall";
    mainProgram = "opensnitch-ui";
+6 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
  pname = "opentimestamps-client";
  version = "0.7.2";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "opentimestamps";
@@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-ny2svB8WcoUky8UfeilANo1DlS+f3o9RtV4YNmUwjJk=";
  };

  propagatedBuildInputs = with python3.pkgs; [
  build-system = with python3.pkgs; [
    setuptools
  ];

  dependencies = with python3.pkgs; [
    appdirs
    gitpython
    opentimestamps
Loading