5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
33 lines
747 B
Nix
33 lines
747 B
Nix
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vikunja-frontend";
|
|
version = "0.19.1";
|
|
src = fetchurl {
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
|
sha256 = "sha256-Kf55M1m/NBQhgaul/4seDMdPFU8jhgOwTNAzdgVg2OQ=";
|
|
};
|
|
|
|
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;
|
|
maintainers = with lib.maintainers; [ leona ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|