2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, openssl, pkg-config, re2c, zlib
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "urbit";
|
|
|
|
version = "0.7.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "urbit";
|
|
|
|
repo = "urbit";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ninja meson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An operating function";
|
|
|
|
homepage = "https://urbit.org";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mudri ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|