From 4138fa09fdc1cd385fdff67e8a9ec4bbfba0c734 Mon Sep 17 00:00:00 2001 From: laMudri Date: Mon, 28 Sep 2015 13:25:23 +0100 Subject: [PATCH] urbit: init at 2015.09.26 --- pkgs/misc/urbit/default.nix | 42 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 44 insertions(+) create mode 100644 pkgs/misc/urbit/default.nix 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4d342f64f857..708c154861c1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14959,6 +14959,8 @@ let tvheadend = callPackage ../servers/tvheadend { }; + urbit = callPackage ../misc/urbit { }; + utf8proc = callPackage ../development/libraries/utf8proc { }; vault = goPackages.vault.bin // { outputs = [ "bin" ]; };