83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
35 lines
836 B
Nix
35 lines
836 B
Nix
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vikunja-frontend";
|
|
version = "0.20.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
|
hash = "sha256-fUWMlayE8pxVBGloLrywVAFCXF/3vlrz/CHjHNBa7U8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/
|
|
cp -r * $out/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.tests.vikunja = nixosTests.vikunja;
|
|
|
|
meta = {
|
|
changelog = "https://kolaente.dev/vikunja/frontend/src/tag/v${version}/CHANGELOG.md";
|
|
description = "Frontend of the Vikunja to-do list app";
|
|
homepage = "https://vikunja.io/";
|
|
license = lib.licenses.agpl3Plus;
|
|
maintainers = with lib.maintainers; [ leona ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|