Commit 132023e2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.appimage: init at 1.0.0

AppImage start scripts

https://github.com/ssh-mitm/appimage
parent b4cca74d
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "appimage";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "ssh-mitm";
    repo = "appimage";
    rev = "refs/tags/${version}";
    hash = "sha256-d8LwZ4iZ+fwFaBP/IFoKImI/TsYtVD0rllbYN9XP/es=";
  };

  build-system = [ hatchling ];

  # Module has no test
  doCheck = false;

  pythonImportsCheck = [ "appimage" ];

  meta = {
    description = "AppImage start scripts";
    homepage = "https://github.com/ssh-mitm/appimage";
    changelog = "https://github.com/ssh-mitm/appimage/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -700,6 +700,8 @@ self: super: with self; {
  appdirs = callPackage ../development/python-modules/appdirs { };
  appimage = callPackage ../development/python-modules/appimage { };
  apple-weatherkit = callPackage ../development/python-modules/apple-weatherkit { };
  applicationinsights = callPackage ../development/python-modules/applicationinsights { };