2021-06-26 14:26:17 +02:00
|
|
|
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
2021-06-10 21:10:48 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vikunja-frontend";
|
2023-03-12 13:49:59 +01:00
|
|
|
version = "0.20.5";
|
2023-02-03 01:51:59 +01:00
|
|
|
|
2021-06-10 21:10:48 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
2023-03-12 13:49:59 +01:00
|
|
|
hash = "sha256-fUWMlayE8pxVBGloLrywVAFCXF/3vlrz/CHjHNBa7U8=";
|
2021-06-10 21:10:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/
|
|
|
|
cp -r * $out/
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-06-26 14:26:17 +02:00
|
|
|
passthru.tests.vikunja = nixosTests.vikunja;
|
|
|
|
|
2021-06-10 21:10:48 +02:00
|
|
|
meta = {
|
2023-02-03 01:51:59 +01:00
|
|
|
changelog = "https://kolaente.dev/vikunja/frontend/src/tag/v${version}/CHANGELOG.md";
|
2021-06-10 21:10:48 +02:00
|
|
|
description = "Frontend of the Vikunja to-do list app";
|
|
|
|
homepage = "https://vikunja.io/";
|
|
|
|
license = lib.licenses.agpl3Plus;
|
2022-06-06 21:50:18 +02:00
|
|
|
maintainers = with lib.maintainers; [ leona ];
|
2021-06-10 21:10:48 +02:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|