diff options
author | Leo Maroni <git@em0lar.de> | 2021-06-10 21:10:48 +0200 |
---|---|---|
committer | Yuka <yuka@yuka.dev> | 2021-07-08 22:17:57 +0200 |
commit | 3338d28040658e13ffec5255c24fe134472f72b5 (patch) | |
tree | d2c90c31e7d37ddfb5f4a4a604840f8a0549fc4b /pkgs/servers | |
parent | 2fbecde3ca7d6fcaf04dc89d86db9f1c93007e89 (diff) |
vikunja-frontend: init at 0.17.0
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/web-apps/vikunja/frontend.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/vikunja/frontend.nix b/pkgs/servers/web-apps/vikunja/frontend.nix new file mode 100644 index 0000000000000..0f90dba91575b --- /dev/null +++ b/pkgs/servers/web-apps/vikunja/frontend.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchurl, unzip, ... }: + +stdenv.mkDerivation rec { + pname = "vikunja-frontend"; + version = "0.17.0"; + src = fetchurl { + url = "https://dl.vikunja.io/frontend/${pname}-${version}.zip"; + sha256 = "sha256-LUYBCdEwDMwhFuIIRmnrtQN9ChaEZyFbItMxh27H5XY="; + }; + + nativeBuildInputs = [ unzip ]; + + sourceRoot = "."; + + installPhase = '' + runHook preInstall + + mkdir -p $out/ + cp -r * $out/ + + runHook postInstall + ''; + + 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; + }; +} |