pretix.plugins.dbevent: migrate from dbvat; init at 1.0.0 (#511571)

This commit is contained in:
Martin Weinelt
2026-04-19 21:38:24 +00:00
committed by GitHub
2 changed files with 41 additions and 38 deletions
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pretix-plugin-build,
setuptools,
}:
buildPythonPackage rec {
pname = "pretix-dbevent";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-dbevent";
rev = "v${version}";
hash = "sha256-1WUTunDeRh0+hPOF/uLcPmRlUlHAOhOqeoYQNYv0ZLI=";
};
build-system = [
pretix-plugin-build
setuptools
];
doCheck = false; # no tests
pythonImportsCheck = [
"pretix_dbevent"
];
meta = {
description = "Advertise the DB Event Offers for discounted and sustainable train travel to your attendees";
homepage = "https://github.com/pretix/pretix-dbevent";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
e1mo
hexa
];
};
}
@@ -1,38 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pretix-plugin-build,
setuptools,
}:
buildPythonPackage rec {
pname = "pretix-dbvat";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-dbvat";
rev = "v${version}";
hash = "sha256-yAKqB0G2WyGqGogAxv8fI34gO6Wl/50sY/5rvWYH4Ho=";
};
build-system = [
pretix-plugin-build
setuptools
];
doCheck = false; # no tests
pythonImportsCheck = [
"pretix_dbvat"
];
meta = {
description = "Plugin for using Deutsche Bahn (DB) Event Discount (Veranstaltungsrabatt)";
homepage = "https://github.com/pretix/pretix-dbvat";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ e1mo ];
};
}