2018-08-05 11:03:55 -07:00
|
|
|
{ stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
|
|
|
|
, openssl, pkgconfig, re2c, zlib
|
|
|
|
}:
|
2015-11-14 12:32:51 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "urbit-${version}";
|
2018-07-18 23:27:22 -07:00
|
|
|
version = "0.6.0";
|
2015-11-14 12:32:51 -08:00
|
|
|
|
2016-06-17 23:35:36 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "urbit";
|
|
|
|
repo = "urbit";
|
2018-07-18 23:27:22 -07:00
|
|
|
rev = "urbit-${version}";
|
|
|
|
sha256 = "158mz6c6y5z1b6piid8hvrl5mcqh8q1ny185gz51jayia51azmgs";
|
|
|
|
fetchSubmodules = true;
|
2015-11-14 12:32:51 -08:00
|
|
|
};
|
|
|
|
|
2018-07-26 13:01:26 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig 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 .
|
|
|
|
'';
|
|
|
|
|
2015-11-14 12:32:51 -08:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-17 23:35:36 -07:00
|
|
|
description = "An operating function";
|
2018-06-27 13:12:57 -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
|
|
|
};
|
|
|
|
}
|