nextcloud: Fetch apps using nvfetcher

This commit is contained in:
Tristan Daniël Maat 2022-10-17 11:00:02 +01:00
parent c4fa991b62
commit 61d3008bc3
Signed by: tlater
GPG key ID: 49670FD774E43268
9 changed files with 318 additions and 66 deletions

13
pkgs/mkNextcloudApp.nix Normal file
View file

@ -0,0 +1,13 @@
{
fetchNextcloudApp,
lib,
}: let
inherit (lib) removePrefix;
in
source:
fetchNextcloudApp {
name = source.pname;
version = removePrefix "v" source.version;
url = source.src.url;
sha256 = source.src.outputHash;
}