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:
parent
b40587cb55
commit
0353967957
@ -2,47 +2,45 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, glib
|
||||||
, pantheon
|
, pantheon
|
||||||
, gnome3
|
, libsoup
|
||||||
, gtksourceview
|
, gtksourceview
|
||||||
, libgee
|
, libgee
|
||||||
, cmake
|
, cmake
|
||||||
, libqalculate
|
, libqalculate
|
||||||
, gobject-introspection
|
, cln
|
||||||
, wrapGAppsHook }:
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nasc-${version}";
|
pname = "nasc";
|
||||||
version = "0.5.1";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "parnold-x";
|
owner = "parnold-x";
|
||||||
repo = "nasc";
|
repo = pname;
|
||||||
rev = version;
|
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 = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pantheon.vala
|
pantheon.vala
|
||||||
gobject-introspection # for setup-hook
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pantheon.elementary-icon-theme
|
cln
|
||||||
|
libsoup
|
||||||
|
gtk3
|
||||||
|
glib
|
||||||
gtksourceview
|
gtksourceview
|
||||||
libgee
|
libgee
|
||||||
gnome3.libsoup
|
|
||||||
pantheon.granite
|
|
||||||
gtk3
|
|
||||||
libqalculate
|
libqalculate
|
||||||
|
pantheon.elementary-icon-theme
|
||||||
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user