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