nixpkgs/pkgs/misc/urbit/default.nix

32 lines
782 B
Nix
Raw Normal View History

2018-08-05 19:03:55 +01:00
{ stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
, openssl, pkgconfig, re2c, zlib
}:
stdenv.mkDerivation rec {
name = "urbit-${version}";
version = "0.6.0";
src = fetchFromGitHub {
owner = "urbit";
repo = "urbit";
rev = "urbit-${version}";
sha256 = "158mz6c6y5z1b6piid8hvrl5mcqh8q1ny185gz51jayia51azmgs";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig ninja meson ];
2018-08-05 19:03:55 +01:00
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
2016-09-02 17:04:41 +01:00
postPatch = ''
patchShebangs .
'';
meta = with stdenv.lib; {
description = "An operating function";
2018-06-27 21:12:57 +01:00
homepage = https://urbit.org;
license = licenses.mit;
maintainers = with maintainers; [ mudri ];
platforms = with platforms; linux;
};
}