update frontend

This commit is contained in:
kolaente 2021-07-04 22:22:12 +02:00
parent f11001c189
commit d8b47bce5e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 12 additions and 5 deletions

View File

@ -1,21 +1,24 @@
{ stdenv
, lib
, mkYarnPackage
, fetchgit
, fetchFromGitea
, python2
, pkg-config
, libsass
, nodejs
, yarn
, unstableGitUpdater
}:
let
version = "unstable";
src = fetchgit {
url = "https://kolaente.dev/vikunja/frontend.git";
rev = "1c01cb3e476346e26a7de440236bf9e4c51b2ecc";
sha256 = "0xxkwlrp689sq0c4ryckz7avgnw2mz40hw013jivcr8dh6m09wra";
src = fetchFromGitea {
domain = "kolaente.dev";
owner = "vikunja";
repo = "frontend";
rev = "7e48f65ff03213b09dece8e66adf106e84c76f4c";
sha256 = "AQCHire2IFdoiMeDR2iUYRQIDOOSzKrm/OMube3Bxt8=";
};
frontend-modules = mkYarnPackage rec {
@ -47,5 +50,9 @@ in stdenv.mkDerivation {
maintainers = with lib.maintainers; [ kolaente ];
platforms = lib.platforms.all;
};
passthru.updateScript = unstableGitUpdater {
url = "${src.meta.homepage}.git";
};
}