summary refs log tree commit diff
path: root/pkgs/misc/urbit/default.nix
blob: 97f5edd94b363a79b3a2e9ce8acb8c70fc958e71 (plain) (blame)
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
30
31
{ lib, stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
, openssl, pkgconfig, re2c, zlib
}:

stdenv.mkDerivation rec {
  pname = "urbit";
  version = "0.7.3";

  src = fetchFromGitHub {
    owner = "urbit";
    repo = "urbit";
    rev = "v${version}";
    sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ pkgconfig ninja meson ];
  buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];

  postPatch = ''
    patchShebangs .
  '';

  meta = with lib; {
    description = "An operating function";
    homepage = "https://urbit.org";
    license = licenses.mit;
    maintainers = with maintainers; [ mudri ];
    platforms = with platforms; linux;
  };
}