summary refs log tree commit diff
path: root/pkgs/applications/misc/sc-im
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-02-21 14:16:13 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-21 14:16:13 +0100
commit0f7c22f387df3ec888f4af60d7821ab2e4b67968 (patch)
tree099b1b85f277adb246a3927b54cac50683016e1b /pkgs/applications/misc/sc-im
parent6cefe6bc575f9e694bddce11cbf7af8d5979e4a4 (diff)
downloadnixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar.gz
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar.bz2
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar.lz
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar.xz
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.tar.zst
nixpkgs-0f7c22f387df3ec888f4af60d7821ab2e4b67968.zip
sc-im: 0.6.0 -> 0.7.0
Diffstat (limited to 'pkgs/applications/misc/sc-im')
-rw-r--r--pkgs/applications/misc/sc-im/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix
index c093a751603..e664a5a7527 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|^#||            " \