lol

unibilium: 20190811 → 2.1.1, fix cross-compilation

+9 -9
+9 -9
pkgs/development/libraries/unibilium/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }: 2 3 stdenv.mkDerivation rec { 4 - pname = "unibilium-unstable"; 5 - 6 - version = "20190811"; 7 8 src = fetchFromGitHub { 9 owner = "neovim"; 10 repo = "unibilium"; 11 - rev = "92d929fabaf94ea4feb48149bbc3bbea77c4fab0"; 12 - sha256 = "1l8p3fpdymba62x1f5d990v72z3m5f5g2yf505g0rlf2ysc5r1di"; 13 }; 14 15 - makeFlags = [ "PREFIX=$(out)" ] 16 - ++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool"; 17 18 - nativeBuildInputs = [ pkg-config perl ]; 19 - buildInputs = [ libtool ncurses ]; 20 21 meta = with lib; { 22 description = "A very basic terminfo library";
··· 1 { stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }: 2 3 stdenv.mkDerivation rec { 4 + pname = "unibilium"; 5 + version = "2.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "neovim"; 9 repo = "unibilium"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-A/WECvma7u/Mmecvzi0cP168dt4v+zwC8CiFBkqWezA="; 12 }; 13 14 + makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ]; 15 + 16 + strictDeps = true; 17 18 + nativeBuildInputs = [ pkg-config perl libtool ]; 19 + buildInputs = [ ncurses ]; 20 21 meta = with lib; { 22 description = "A very basic terminfo library";