2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
|
2021-01-16 18:30:45 -08:00
|
|
|
, openssl, pkg-config, re2c, zlib
|
2018-08-05 11:03:55 -07:00
|
|
|
}:
|
2015-11-14 12:32:51 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "urbit";
|
2019-02-20 01:35:49 -08:00
|
|
|
version = "0.7.3";
|
2015-11-14 12:32:51 -08:00
|
|
|
|
2016-06-17 23:35:36 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "urbit";
|
|
|
|
repo = "urbit";
|
2019-02-20 01:35:49 -08:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
|
2018-07-18 23:27:22 -07:00
|
|
|
fetchSubmodules = true;
|
2015-11-14 12:32:51 -08:00
|
|
|
};
|
|
|
|
|
2021-01-16 18:30:45 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ninja meson ];
|
2018-08-05 11:03:55 -07:00
|
|
|
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
|
2016-09-02 09:04:41 -07:00
|
|
|
|
2018-07-18 23:27:22 -07:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2016-06-17 23:35:36 -07:00
|
|
|
description = "An operating function";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://urbit.org";
|
2015-11-14 12:32:51 -08:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mudri ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = with platforms; linux;
|
2015-11-14 12:32:51 -08:00
|
|
|
};
|
|
|
|
}
|