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
, gnome3
, cmake
, ninja
, vala_0_40
, libqalculate
, gobjectIntrospection
@ -14,24 +13,28 @@
stdenv.mkDerivation rec {
name = "nasc-${version}";
version = "0.5.0";
version = "0.5.1";
src = fetchFromGitHub {
owner = "parnold-x";
repo = "nasc";
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 = [
pkgconfig
wrapGAppsHook
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
cmake
ninja
gobjectIntrospection # for setup-hook
];
buildInputs = [
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged
gnome3.gtksourceview