nixpkgs/pkgs/misc/urbit/default.nix

32 lines
777 B
Nix
Raw Normal View History

2018-08-05 18:03:55 +00:00
{ stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
, openssl, pkgconfig, re2c, zlib
}:
stdenv.mkDerivation rec {
name = "urbit-${version}";
2019-02-20 09:35:49 +00:00
version = "0.7.3";
src = fetchFromGitHub {
owner = "urbit";
repo = "urbit";
2019-02-20 09:35:49 +00:00
rev = "v${version}";
sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
fetchSubmodules = true;
};
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
postPatch = ''
patchShebangs .
'';
meta = with stdenv.lib; {
description = "An operating function";
2018-06-27 20:12:57 +00:00
homepage = https://urbit.org;
license = licenses.mit;
maintainers = with maintainers; [ mudri ];
platforms = with platforms; linux;
};
}