0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
33 lines
747 B
Nix
33 lines
747 B
Nix
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vikunja-frontend";
|
|
version = "0.20.2";
|
|
src = fetchurl {
|
|
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
|
|
sha256 = "sha256-7WvitR40eJPPdqwZm8C7spvEIdFIY3SGc/w4VY7spgk=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|