diff --git a/pkgs/servers/plik/default.nix b/pkgs/servers/plik/default.nix index b66ca14e415d..7c9cd7d00eb1 100644 --- a/pkgs/servers/plik/default.nix +++ b/pkgs/servers/plik/default.nix @@ -1,16 +1,17 @@ { lib, fetchurl, makeWrapper, runCommand, callPackage }: let - version = "1.3.1"; + version = "1.3.4"; - programs = callPackage ./programs.nix {}; + programs = callPackage ./programs.nix { }; webapp = fetchurl { url = "https://github.com/root-gg/plik/releases/download/${version}/plik-${version}-linux-amd64.tar.gz"; - sha256 = "KN6cp29KKdGamYnfL3jYltx0EDx6syDPfV0jShOk7Zw="; + sha256 = "1qp96va5l0m7jp4g007bhgcpf4ydg3cpg2x9wa9rkpp9k1svdhjy"; }; -in { +in +{ inherit (programs) plik plikd-unwrapped; diff --git a/pkgs/servers/plik/programs.nix b/pkgs/servers/plik/programs.nix index ff83ec5ff689..40633da7d3fc 100644 --- a/pkgs/servers/plik/programs.nix +++ b/pkgs/servers/plik/programs.nix @@ -1,16 +1,16 @@ { lib, buildGoModule, fetchFromGitHub, fetchurl, makeWrapper, runCommand }: let - version = "1.3.1"; + version = "1.3.4"; src = fetchFromGitHub { owner = "root-gg"; repo = "plik"; rev = version; - sha256 = "C/1Uwjsqd9n3WSXlnlq9K3EJHkLOSavS9cPqF2UqmGo="; + sha256 = "0kmcidnjw26vnxx9h3swcg72i507awg89s4nfxw6rwbyw36iiiqf"; }; - vendorSha256 = "klmWXC3tkoOcQHhiQZjR2C5jqaRJqMQOLtVxZ0cFq/Y="; + vendorSha256 = null; meta = with lib; { homepage = "https://plik.root.gg/"; @@ -18,7 +18,8 @@ let maintainers = with maintainers; [ freezeboy ]; license = licenses.mit; }; -in { +in +{ plik = buildGoModule { pname = "plik";