diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix index cb18278d1ed4..75d08ec81883 100644 --- a/pkgs/applications/misc/sc-im/default.nix +++ b/pkgs/applications/misc/sc-im/default.nix @@ -1,26 +1,23 @@ -{ stdenv, fetchFromGitHub, yacc, ncurses, libxml2 }: +{ stdenv, fetchFromGitHub, yacc, ncurses, libxml2, pkgconfig }: -let - version = "0.2.1"; -in stdenv.mkDerivation rec { - + version = "0.4.0"; name = "sc-im-${version}"; src = fetchFromGitHub { owner = "andmarti1424"; repo = "sc-im"; rev = "v${version}"; - sha256 = "0v6b8xksvd12vmz198vik2ranyr5mhnp85hl9yxh9svibs7jxsbb"; + sha256 = "1v1cfmfqs5997bqlirp6p7smc3qrinq8dvsi33sk09r33zkzyar0"; }; - buildInputs = [ yacc ncurses libxml2 ]; + buildInputs = [ yacc ncurses libxml2 pkgconfig ]; buildPhase = '' cd src - sed "s,prefix=/usr,prefix=$out," Makefile - sed "s,-I/usr/include/libxml2,-I$libxml2," Makefile + sed -i "s,prefix=/usr,prefix=$out," Makefile + sed -i "s,-I/usr/include/libxml2,-I$libxml2," Makefile make export DESTDIR=$out