zammad: format with nixfmt-rfc-style

This commit is contained in:
Jennifer Graul 2024-11-27 09:46:07 +01:00
parent cdc7b2d51d
commit 07d95b3be7
No known key found for this signature in database
GPG Key ID: 9C55E636426B40A9
2 changed files with 52 additions and 34 deletions

View File

@ -1,22 +1,23 @@
{ stdenvNoCC
, lib
, nixosTests
, fetchFromGitHub
, applyPatches
, bundlerEnv
, defaultGemConfig
, callPackage
, procps
, ruby
, postgresql
, imlib2
, jq
, moreutils
, nodejs
, pnpm
, cacert
, redis
, dataDir ? "/var/lib/zammad"
{
stdenvNoCC,
lib,
nixosTests,
fetchFromGitHub,
applyPatches,
bundlerEnv,
defaultGemConfig,
callPackage,
procps,
ruby,
postgresql,
imlib2,
jq,
moreutils,
nodejs,
pnpm,
cacert,
redis,
dataDir ? "/var/lib/zammad",
}:
let
@ -61,7 +62,10 @@ let
buildFlags = [ "--with-pg-config=${lib.getDev postgresql}/bin/pg_config" ];
};
rszr = attrs: {
buildInputs = [ imlib2 imlib2.dev ];
buildInputs = [
imlib2
imlib2.dev
];
buildFlags = [ "--without-imlib2-config" ];
};
mini_racer = attrs: {
@ -136,15 +140,28 @@ stdenvNoCC.mkDerivation {
passthru = {
inherit rubyEnv;
updateScript = [ "${callPackage ./update.nix {}}/bin/update.sh" pname (toString ./.) ];
tests = { inherit (nixosTests) zammad; };
updateScript = [
"${callPackage ./update.nix { }}/bin/update.sh"
pname
(toString ./.)
];
tests = {
inherit (nixosTests) zammad;
};
};
meta = with lib; {
description = "Zammad, a web-based, open source user support/ticketing solution";
homepage = "https://zammad.org";
license = licenses.agpl3Plus;
platforms = [ "x86_64-linux" "aarch64-linux" ];
maintainers = with maintainers; [ n0emis taeer netali ];
platforms = [
"x86_64-linux"
"aarch64-linux"
];
maintainers = with maintainers; [
n0emis
taeer
netali
];
};
}

View File

@ -1,13 +1,14 @@
{ stdenvNoCC
, lib
, makeWrapper
, bundix
, common-updater-scripts
, xidel
, jq
, nix-prefetch-github
, yarn
, yarn2nix
{
stdenvNoCC,
lib,
makeWrapper,
bundix,
common-updater-scripts,
xidel,
jq,
nix-prefetch-github,
yarn,
yarn2nix,
}:
stdenvNoCC.mkDerivation rec {