Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Revert "urbit: 0.4.5 -> 0.6.0"

authored by Timo Kaufmann and committed by GitHub 2fecd10d 6aa0b616

+12 -25
+12 -25
pkgs/misc/urbit/default.nix
··· 1 - { stdenv, fetchFromGitHub, curl, gcc, gmp, libsigsegv, libtool, libuv, ncurses, 2 - openssl, perl, python2, ragel, re2c, zlib, 3 - pkgconfig, meson, ninja 4 - }: 1 + { stdenv, fetchFromGitHub, gcc, gmp, libsigsegv, openssl, automake, autoconf, ragel, 2 + cmake, re2c, libtool, ncurses, perl, zlib, python2, curl }: 5 3 6 4 stdenv.mkDerivation rec { 7 5 name = "urbit-${version}"; 8 - version = "0.6.0"; 6 + version = "0.4.5"; 9 7 10 8 src = fetchFromGitHub { 11 9 owner = "urbit"; 12 10 repo = "urbit"; 13 - rev = "urbit-${version}"; 14 - sha256 = "158mz6c6y5z1b6piid8hvrl5mcqh8q1ny185gz51jayia51azmgs"; 15 - fetchSubmodules = true; 11 + rev = "v${version}"; 12 + sha256 = "1zgxgqbz74nsgfyrvsnjj6xxpb64mrnby7bb5qy733sy04gmzgik"; 16 13 }; 17 14 18 - nativeBuildInputs = [ pkgconfig meson ninja ]; 19 15 buildInputs = with stdenv.lib; [ 20 - curl 21 - gcc 22 - gmp 23 - libsigsegv 24 - libtool 25 - libuv 26 - ncurses 27 - openssl 28 - perl 29 - python2 30 - ragel 31 - re2c 32 - zlib 16 + gcc gmp libsigsegv openssl automake autoconf ragel cmake re2c libtool 17 + ncurses perl zlib python2 curl 33 18 ]; 34 19 35 20 # uses 'readdir_r' deprecated by glibc 2.24 ··· 40 25 ''; 41 26 42 27 buildPhase = '' 43 - mkdir -p "$out/bin" 44 - meson . "$out/bin" --buildtype=release 45 - ninja -C "$out/bin" 28 + sed -i 's/-lcurses/-lncurses/' Makefile 29 + mkdir -p $out 30 + cp -r . $out/ 31 + cd $out 32 + make 46 33 ''; 47 34 48 35 installPhase = ''