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