nixpkgs/pkgs/servers/web-apps/vikunja/frontend.nix

34 lines
748 B
Nix
Raw Normal View History

2021-06-26 14:26:17 +02:00
{ stdenv, lib, fetchurl, unzip, nixosTests, ... }:
2021-06-10 21:10:48 +02:00
stdenv.mkDerivation rec {
pname = "vikunja-frontend";
2021-09-05 20:49:59 +02:00
version = "0.18.0";
2021-06-10 21:10:48 +02:00
src = fetchurl {
url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip";
2021-09-05 20:49:59 +02:00
sha256 = "sha256-LV7+HfXeNcVHuoo+n6fuAQoIb/m0lOs6JYYMNLM/jTA=";
2021-06-10 21:10:48 +02:00
};
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -r * $out/
runHook postInstall
'';
2021-06-26 14:26:17 +02:00
passthru.tests.vikunja = nixosTests.vikunja;
2021-06-10 21:10:48 +02:00
meta = {
description = "Frontend of the Vikunja to-do list app";
homepage = "https://vikunja.io/";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ em0lar ];
platforms = lib.platforms.all;
};
}