Skip to content

Commit

Permalink
akkoma(admin-fe): unstable-2023-02-11 -> unstable-2024-04-27
Browse files Browse the repository at this point in the history
  • Loading branch information
tcmal committed Apr 30, 2024
1 parent 359763b commit 9d0ca69
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12,550 deletions.
20 changes: 9 additions & 11 deletions pkgs/servers/akkoma/admin-fe/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@
, stdenv
, fetchFromGitea, fetchYarnDeps
, fixup-yarn-lock, yarn, nodejs
, git
, python3, pkg-config, libsass
}:

stdenv.mkDerivation rec {
pname = "admin-fe";
version = "unstable-2024-02-25";
version = "unstable-2024-04-27";

src = fetchFromGitea {
domain = "akkoma.dev";
owner = "AkkomaGang";
repo = "admin-fe";
rev = "2a1e175f7c2b02e66d728f808cb7e9449231a288";
hash = "sha256-PLSJ+doZUZ2n4hWUahY299VoCvNq76Tm8qpdvOIHD9c=";
rev = "7e16abcbaab10efa6c2c4589660cf99f820a718d";
hash = "sha256-W/2Ay2dNeVQk88lgkyTzKwCNw0kLkfI6+Azlbp0oMm4=";
};

patches = [ ./deps.patch ];

offlineCache = fetchYarnDeps {
yarnLock = ./yarn.lock;
hash = "sha256-h+QUBT2VwPWu2l05Zkcp+0vHN/x40uXxw2KYjq7l/Xk=";
yarnLock = src + "/yarn.lock";
hash = "sha256-acF+YuWXlMZMipD5+XJS+K9vVFRz3wB2fZqc3Hd0Bjc=";
};

nativeBuildInputs = [
Expand All @@ -30,20 +29,19 @@ stdenv.mkDerivation rec {
nodejs
pkg-config
python3
git
libsass
];

postPatch = ''
cp ${./yarn.lock} yarn.lock
'';

configurePhase = ''
runHook preConfigure
export HOME="$(mktemp -d)"
yarn config --offline set yarn-offline-mirror ${lib.escapeShellArg offlineCache}
fixup-yarn-lock yarn.lock
substituteInPlace yarn.lock \
--replace-fail '"git://github.com/adobe-webplatform/eve.git#eef80ed"' '"https://github.com/adobe-webplatform/eve.git#eef80ed"'
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules/cross-env
Expand Down
46 changes: 0 additions & 46 deletions pkgs/servers/akkoma/admin-fe/deps.patch

This file was deleted.

Loading

0 comments on commit 9d0ca69

Please sign in to comment.