aboutsummaryrefslogtreecommitdiff
path: root/modules/laplace/package.nix
blob: 349eca4403f59d2eb3ecf393ed9e5525992a7638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, lib, fetchFromGitHub, makeWrapper, buildGoModule, file, glibc }:

with lib;

buildGoModule rec {
  pname = "laplace";
  version = "6d87705";

  src = fetchFromGitHub {
    owner = "adamyordan";
    repo = "laplace";
    rev = "6d87705";
    hash = "sha256-sBeFuyDzDe1RQdxxsWqwA6pEAJqvN41evCJ6Ynw9/FA=";
  };

  buildInputs = [ stdenv ];

  postInstall = ''
    mkdir -p $out/share/laplace
    cp -r ./files $out/share/laplace/files
  '';

  vendorHash = "sha256-wuSJJXzlSD1RkBmRRVUMVx+UlrIZ8NhQaFp6ZwiNSwg=";

  meta = {
    description = "WebRTC Screen Sharing";
    homepage = "https://github.com/adamyordan/laplace";
  };
}