nasc: 0.5.1 -> 0.5.2

Main improvment is that libqalculatenasc.so is now properly linked

Changelog: https://github.com/parnold-x/nasc/compare/0.5.1...0.5.2
This commit is contained in:
worldofpeace 2019-03-20 22:53:41 -04:00
parent b40587cb55
commit 0353967957

View file

@ -2,47 +2,45 @@
, fetchFromGitHub
, pkgconfig
, gtk3
, glib
, pantheon
, gnome3
, libsoup
, gtksourceview
, libgee
, cmake
, libqalculate
, gobject-introspection
, wrapGAppsHook }:
, cln
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "nasc-${version}";
version = "0.5.1";
pname = "nasc";
version = "0.5.2";
src = fetchFromGitHub {
owner = "parnold-x";
repo = "nasc";
repo = pname;
rev = version;
sha256 = "13y5fnm7g3xgdxmdydlgly73nigh8maqbf9d6c9bpyzxkxq1csy5";
sha256 = "009xmlsgl7r6wp6sczbdp8sjqqd6k2mychx5b4zn7wnrl7435y5y";
};
postPatch = ''
# libqalculatenasc.so is not installed, and nasc fails to start
substituteInPlace libqalculatenasc/CMakeLists.txt --replace SHARED STATIC
'';
nativeBuildInputs = [
cmake
pantheon.vala
gobject-introspection # for setup-hook
pkgconfig
wrapGAppsHook
];
buildInputs = [
pantheon.elementary-icon-theme
cln
libsoup
gtk3
glib
gtksourceview
libgee
gnome3.libsoup
pantheon.granite
gtk3
libqalculate
pantheon.elementary-icon-theme
pantheon.granite
];
meta = with stdenv.lib; {