diff options
author | lethalman <lucabru@src.gnome.org> | 2015-10-02 11:28:32 +0200 |
---|---|---|
committer | lethalman <lucabru@src.gnome.org> | 2015-10-02 11:28:32 +0200 |
commit | 5c4dc8512101eafda03871e2ef894761f8f8b106 (patch) | |
tree | 677ea01cec897148bb3bba005660ab0de952b912 | |
parent | 5d952d68deadca348d611e2d6fcda2c893f50b2a (diff) | |
parent | 4138fa09fdc1cd385fdff67e8a9ec4bbfba0c734 (diff) | |
download | nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar.gz nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar.bz2 nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar.lz nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar.xz nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.tar.zst nixlib-5c4dc8512101eafda03871e2ef894761f8f8b106.zip |
Merge pull request #10117 from laMudri/urbit
urbit: init at 2015.09.26
-rw-r--r-- | pkgs/misc/urbit/default.nix | 42 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 44 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c599390157c1..7c12a501bfac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14947,6 +14947,8 @@ let tvheadend = callPackage ../servers/tvheadend { }; + urbit = callPackage ../misc/urbit { }; + utf8proc = callPackage ../development/libraries/utf8proc { }; vault = goPackages.vault.bin // { outputs = [ "bin" ]; }; |