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

Merge pull request #303412 from r-ryantm/auto-update/gallia

gallia: 1.6.0 -> 1.7.0
parents 8ba8f195 bce1960d
Loading
Loading
Loading
Loading
+17 −18
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
, cacert
{
  lib,
  fetchFromGitHub,
  python3,
  cacert,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "gallia";
  version = "1.6.0";
  version = "1.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Fraunhofer-AISEC";
    repo = "gallia";
    rev = "refs/tags/v${version}";
    hash = "sha256-LvzEyBkhji7ruVVO2EpqM8pKOcTX8Dnkqu/GtWOfMZs=";
    hash = "sha256-hLGaImYkv6/1Wv1a+0tKmW4qmV4akNoyd0RXopJjetI=";
  };

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
    pythonRelaxDepsHook
  ];
  pythonRelaxDeps = [ "httpx" ];

  pythonRelaxDeps = [
    "httpx"
  ];
  build-system = with python3.pkgs; [ poetry-core ];

  nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3.pkgs; [
    aiofiles
    aiohttp
    aiosqlite
@@ -51,9 +49,7 @@ python3.pkgs.buildPythonApplication rec {
    pytest-asyncio
  ];

  pythonImportsCheck = [
    "gallia"
  ];
  pythonImportsCheck = [ "gallia" ];

  preCheck = ''
    export PATH=$out/bin:$PATH
@@ -64,7 +60,10 @@ python3.pkgs.buildPythonApplication rec {
    homepage = "https://github.com/Fraunhofer-AISEC/gallia";
    changelog = "https://github.com/Fraunhofer-AISEC/gallia/releases/tag/v${version}";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab rumpelsepp ];
    maintainers = with maintainers; [
      fab
      rumpelsepp
    ];
    platforms = platforms.linux;
  };
}