pretix.plugins.pages: init at 1.6.0

Plugin to add static pages to your pretix event
This commit is contained in:
Martin Weinelt 2024-03-15 02:51:33 +01:00
parent b36b95afa1
commit 67c66d87d1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 39 additions and 0 deletions

View file

@ -3,5 +3,7 @@
}:
{
pages = callPackage ./pages.nix { };
passbook = callPackage ./passbook.nix { };
}

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pretix-plugin-build
, setuptools
}:
buildPythonPackage rec {
pname = "pretix-pages";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-pages";
rev = "v${version}";
hash = "sha256-cO5tAiOifLpqFEQwYgrGoByUecpzvue8YmChpPwm+y0=";
};
build-system = [
pretix-plugin-build
setuptools
];
doCheck = false; # no tests
pythonImportsCheck = [
"pretix_pages"
];
meta = with lib; {
description = "Plugin to add static pages to your pretix event";
homepage = "https://github.com/pretix/pretix-pages";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}