Loading pkgs/by-name/mu/museum/package.nix +22 −16 Original line number Diff line number Diff line { lib , fetchFromGitHub , pkg-config , libsodium , buildGoModule { lib, fetchFromGitHub, pkg-config, libsodium, buildGoModule, }: buildGoModule rec { version = "0.9.53"; pname = "museum"; version = "0.9.53"; src = fetchFromGitHub { owner = "ente-io"; Loading @@ -18,10 +18,16 @@ buildGoModule rec { hash = "sha256-aczWqK6Zymvl46fHN6QXT0f5V2lpC+8kpSbEoTiP+7k="; }; vendorHash = "sha256-Vz9AodHoClSmo51ExdOS4bWH13i1Sug++LQMIsZY2xY="; sourceRoot = "${src.name}/server"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsodium ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsodium ]; # fatal: "Not running tests in non-test environment" doCheck = false; Loading @@ -34,15 +40,15 @@ buildGoModule rec { $out/share/museum ''; meta = with lib; { meta = { description = "API server for ente.io"; homepage = "https://github.com/ente-io/ente/tree/main/server"; license = licenses.agpl3Only; maintainers = with maintainers; [ surfaceflinger pinpox ]; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ surfaceflinger pinpox ]; mainProgram = "museum"; platforms = platforms.linux; platforms = lib.platforms.linux; }; vendorHash = "sha256-Vz9AodHoClSmo51ExdOS4bWH13i1Sug++LQMIsZY2xY="; } Loading
pkgs/by-name/mu/museum/package.nix +22 −16 Original line number Diff line number Diff line { lib , fetchFromGitHub , pkg-config , libsodium , buildGoModule { lib, fetchFromGitHub, pkg-config, libsodium, buildGoModule, }: buildGoModule rec { version = "0.9.53"; pname = "museum"; version = "0.9.53"; src = fetchFromGitHub { owner = "ente-io"; Loading @@ -18,10 +18,16 @@ buildGoModule rec { hash = "sha256-aczWqK6Zymvl46fHN6QXT0f5V2lpC+8kpSbEoTiP+7k="; }; vendorHash = "sha256-Vz9AodHoClSmo51ExdOS4bWH13i1Sug++LQMIsZY2xY="; sourceRoot = "${src.name}/server"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsodium ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsodium ]; # fatal: "Not running tests in non-test environment" doCheck = false; Loading @@ -34,15 +40,15 @@ buildGoModule rec { $out/share/museum ''; meta = with lib; { meta = { description = "API server for ente.io"; homepage = "https://github.com/ente-io/ente/tree/main/server"; license = licenses.agpl3Only; maintainers = with maintainers; [ surfaceflinger pinpox ]; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ surfaceflinger pinpox ]; mainProgram = "museum"; platforms = platforms.linux; platforms = lib.platforms.linux; }; vendorHash = "sha256-Vz9AodHoClSmo51ExdOS4bWH13i1Sug++LQMIsZY2xY="; }