2021-07-14 22:03:04 +00:00
|
|
|
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vikunja-frontend";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.20.2";
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-7WvitR40eJPPdqwZm8C7spvEIdFIY3SGc/w4VY7spgk=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/
|
|
|
|
cp -r * $out/
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru.tests.vikunja = nixosTests.vikunja;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Frontend of the Vikunja to-do list app";
|
|
|
|
homepage = "https://vikunja.io/";
|
|
|
|
license = lib.licenses.agpl3Plus;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with lib.maintainers; [ leona ];
|
2021-07-14 22:03:04 +00:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|