2021-07-14 22:03:04 +00:00
|
|
|
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vikunja-frontend";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "0.19.1";
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-Kf55M1m/NBQhgaul/4seDMdPFU8jhgOwTNAzdgVg2OQ=";
|
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;
|
|
|
|
};
|
|
|
|
}
|