2021-06-26 13:26:17 +01:00
|
|
|
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
2021-06-10 20:10:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vikunja-frontend";
|
2022-08-03 22:19:18 +01:00
|
|
|
version = "0.19.0";
|
2021-06-10 20:10:48 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
2022-08-03 22:19:18 +01:00
|
|
|
sha256 = "sha256-pdUNPfGgbSMyXcS2HKMekIiIzJ3GutHCs0gFVkHN9yc=";
|
2021-06-10 20:10:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/
|
|
|
|
cp -r * $out/
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-06-26 13:26:17 +01:00
|
|
|
passthru.tests.vikunja = nixosTests.vikunja;
|
|
|
|
|
2021-06-10 20:10:48 +01:00
|
|
|
meta = {
|
|
|
|
description = "Frontend of the Vikunja to-do list app";
|
|
|
|
homepage = "https://vikunja.io/";
|
|
|
|
license = lib.licenses.agpl3Plus;
|
2022-06-06 20:50:18 +01:00
|
|
|
maintainers = with lib.maintainers; [ leona ];
|
2021-06-10 20:10:48 +01:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|