nasc: 0.5.0 -> 0.5.1

This commit is contained in:
Gabriel Ebner 2018-11-10 14:15:27 +01:00
parent eb6337b3e3
commit 698ad2dd4d

View File

@ -6,7 +6,6 @@
, granite , granite
, gnome3 , gnome3
, cmake , cmake
, ninja
, vala_0_40 , vala_0_40
, libqalculate , libqalculate
, gobjectIntrospection , gobjectIntrospection
@ -14,24 +13,28 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "nasc-${version}"; name = "nasc-${version}";
version = "0.5.0"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "parnold-x"; owner = "parnold-x";
repo = "nasc"; repo = "nasc";
rev = version; rev = version;
sha256 = "1rrp3djsv7lrgsqjn7x50msv0c5ffhz90lj1v11di0kp05m6q9j9"; sha256 = "13y5fnm7g3xgdxmdydlgly73nigh8maqbf9d6c9bpyzxkxq1csy5";
}; };
postPatch = ''
# libqalculatenasc.so is not installed, and nasc fails to start
substituteInPlace libqalculatenasc/CMakeLists.txt --replace SHARED STATIC
'';
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
wrapGAppsHook wrapGAppsHook
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
cmake cmake
ninja
gobjectIntrospection # for setup-hook gobjectIntrospection # for setup-hook
]; ];
buildInputs = [ buildInputs = [
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
gnome3.gtksourceview gnome3.gtksourceview