aboutsummaryrefslogtreecommitdiff
path: root/pkgs/misc/urbit
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-11-14 12:32:51 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-11-14 12:32:51 -0800
commit6602f49495c94e8533c8b482698bcf570a8d8933 (patch)
tree07065424002052ed9e726b4feb689697845ff4a7 /pkgs/misc/urbit
parente4feccce818416c39c8e86e6f9ac01674ad98c88 (diff)
Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840dad05cd1728481045466811ae8ae8281. This reverts the fallout from reverting the major changes.
Diffstat (limited to 'pkgs/misc/urbit')
-rw-r--r--pkgs/misc/urbit/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/misc/urbit/default.nix b/pkgs/misc/urbit/default.nix
new file mode 100644
index 000000000000..e4049f07897a
--- /dev/null
+++ b/pkgs/misc/urbit/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchgit, gcc, gmp, libsigsegv, openssl, automake, autoconf, ragel,
+ cmake, re2c, libtool, ncurses, perl, zlib, python }:
+
+stdenv.mkDerivation rec {
+
+ name = "urbit-${version}";
+ version = "2015.09.26";
+
+ src = fetchgit {
+ url = "https://github.com/urbit/urbit.git";
+ rev = "c9592664c797b2dd74f26886528656f8a7058640";
+ sha256 = "0sgrxnmpqh54mgar81wlb6gff8c0pc24p53xwxr448g5shvnzjx9";
+ };
+
+ buildInputs = with stdenv.lib; [
+ gcc gmp libsigsegv openssl automake autoconf ragel cmake re2c libtool
+ ncurses perl zlib python
+ ];
+
+ configurePhase = ''
+ :
+ '';
+
+ buildPhase = ''
+ sed -i 's/-lcurses/-lncurses/' Makefile
+ mkdir -p $out
+ cp -r . $out/
+ cd $out
+ make
+ '';
+
+ installPhase = ''
+ :
+ '';
+
+ meta = with stdenv.lib; {
+ description = "an operating function";
+ homepage = http://urbit.org/preview/~2015.9.25/materials;
+ license = licenses.mit;
+ maintainers = with maintainers; [ mudri ];
+ };
+}