From 0f7c22f387df3ec888f4af60d7821ab2e4b67968 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 21 Feb 2018 14:16:13 +0100 Subject: [PATCH] sc-im: 0.6.0 -> 0.7.0 --- pkgs/applications/misc/sc-im/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix index c093a7516031..e664a5a75274 100644 --- a/pkgs/applications/misc/sc-im/default.nix +++ b/pkgs/applications/misc/sc-im/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchFromGitHub, yacc, ncurses, libxml2, libzip, libxls, pkgconfig }: stdenv.mkDerivation rec { - version = "0.6.0"; + version = "0.7.0"; name = "sc-im-${version}"; src = fetchFromGitHub { owner = "andmarti1424"; repo = "sc-im"; rev = "v${version}"; - sha256 = "02ak3b0vv72mv38cwvy7qp0y6hgrzcgahkv1apgks3drpnz5w1sj"; + sha256 = "0xi0n9qzby012y2j7hg4fgcwyly698sfi4i9gkvy0q682jihprbk"; }; nativeBuildInputs = [ pkgconfig ]; @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { buildPhase = '' cd src + sed 's/LDLIBS += -lm/& -lncurses/' -i Makefile + sed -e "\|^prefix = /usr/local| s|/usr/local|$out|" \ -e "\|^#LDLIBS += -lxlsreader| s|^#|| " \ -e "\|^#CFLAGS += -DXLS| s|^#|| " \