diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-03-24 11:04:41 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-03-24 11:04:41 +0100 |
commit | 5423cabbbf2b6dec5568f1ecabd288d5d9a642ec (patch) | |
tree | f316a6a921bfefd3a63bd4502c2eb50ff1644f67 /nixpkgs/pkgs/by-name/pr/pretalx/package.nix | |
parent | 46a88117a05c3469af5d99433af140c3de8ca088 (diff) | |
parent | 8aa81f34981add12aecada6c702ddbbd0375ca36 (diff) | |
download | nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.gz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.bz2 nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.lz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.xz nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.tar.zst nixlib-5423cabbbf2b6dec5568f1ecabd288d5d9a642ec.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/by-name/pr/pretalx/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/pr/pretalx/package.nix | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/by-name/pr/pretalx/package.nix b/nixpkgs/pkgs/by-name/pr/pretalx/package.nix index a4bf9fc9b5ef..bea6f3cc41c4 100644 --- a/nixpkgs/pkgs/by-name/pr/pretalx/package.nix +++ b/nixpkgs/pkgs/by-name/pr/pretalx/package.nix @@ -27,18 +27,20 @@ let }; }; - version = "2023.1.3"; + version = "2024.1.0"; src = fetchFromGitHub { owner = "pretalx"; repo = "pretalx"; rev = "v${version}"; - hash = "sha256-YxmkjfftNrInIcSkK21wJXiEU6hbdDa1Od8p+HiLprs="; + hash = "sha256-rFOlovybaEZnv5wBx6Dv8bVkP1D+CgYAKRXuNb6hLKQ="; }; meta = with lib; { description = "Conference planning tool: CfP, scheduling, speaker management"; + mainProgram = "pretalx-manage"; homepage = "https://github.com/pretalx/pretalx"; + changelog = "https://docs.pretalx.org/en/latest/changelog.html"; license = licenses.asl20; maintainers = teams.c3d2.members; platforms = platforms.linux; @@ -50,7 +52,7 @@ let sourceRoot = "${src.name}/src/pretalx/frontend/schedule-editor"; - npmDepsHash = "sha256-4cnBHZ8WpHgp/bbsYYbdtrhuD6ffUAZq9ZjoLpWGfRg="; + npmDepsHash = "sha256-B9R3Nn4tURNxzeyLDHscqHxYOQK9AcmDnyNq3k5WQQs="; npmBuildScript = "build"; @@ -72,22 +74,19 @@ python.pkgs.buildPythonApplication rec { --replace 'subprocess.check_call(["npm", "run", "build"], cwd=frontend_dir, env=env)' "" substituteInPlace src/setup.cfg \ - --replace "--cov=./" "" + --replace "--cov=./ --cov-report=" "" ''; nativeBuildInputs = [ gettext - python.pkgs.pythonRelaxDepsHook - ]; + ] ++ (with python.pkgs; [ + pythonRelaxDepsHook + setuptools + ]); pythonRelaxDeps = [ - "bleach" - "cssutils" - "django-filter" - "django-formtools" - "libsass" - "markdown" - "pillow" + "django-csp" + "python-dateutil" ]; propagatedBuildInputs = with python.pkgs; [ @@ -174,6 +173,7 @@ python.pkgs.buildPythonApplication rec { nativeCheckInputs = with python.pkgs; [ faker freezegun + jsonschema pytest-django pytest-mock pytest-xdist @@ -185,9 +185,16 @@ python.pkgs.buildPythonApplication rec { # tries to run npm run i18n:extract "test_common_custom_makemessages_does_not_blow_up" # Expected to perform X queries or less but Y were done + "test_can_see_schedule" "test_schedule_export_public" "test_schedule_frab_json_export" + "test_schedule_frab_xcal_export" "test_schedule_frab_xml_export" + "test_schedule_frab_xml_export_control_char" + "test_schedule_page_text_list" + "test_schedule_page_text_table" + "test_schedule_page_text_wrong_format" + "test_versioned_schedule_page" ]; passthru = { |