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