Unverified Commit 8ab39bb3 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

podman-compose: migrate to by-name, add tests (#474371)

parents e17864f2 98155863
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonApplication,
  python3Packages,
  fetchFromGitHub,
  python-dotenv,
  pyyaml,
  setuptools,
  pypaBuildHook,
}:

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  version = "1.5.0";
  pname = "podman-compose";
  pyproject = true;
@@ -21,14 +17,26 @@ buildPythonApplication rec {
  };

  build-system = [
    setuptools
    python3Packages.setuptools
  ];

  dependencies = [
  dependencies = with python3Packages; [
    python-dotenv
    pyyaml
  ];
  propagatedBuildInputs = [ pypaBuildHook ];

  propagatedBuildInputs = [ python3Packages.pypaBuildHook ];

  nativeCheckInputs = with python3Packages; [
    pytestCheckHook
    parameterized
  ];

  disabledTestPaths = [
    "tests/integration" # requires running podman
  ];

  # versionCheckHook requires podman executable

  meta = {
    description = "Implementation of docker-compose with podman backend";
+0 −2
Original line number Diff line number Diff line
@@ -3613,8 +3613,6 @@ with pkgs;

  po4a = perlPackages.Po4a;

  podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose { };

  polaris = callPackage ../servers/polaris { };

  polaris-web = callPackage ../servers/polaris/web.nix { };