regextester: 0.1.7 -> 1.0.1
* uses meson now * crashes on start complaining schema not installed, so I added a postInstall that compiles the schema? Fixes the problem but I'm not particularly familiar with these bits so review appreciated.
This commit is contained in:
parent
c1e3f1c458
commit
8f2a1dc955
@ -3,47 +3,51 @@
|
|||||||
, gettext
|
, gettext
|
||||||
, libxml2
|
, libxml2
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gtk3
|
, glib
|
||||||
, granite
|
, granite
|
||||||
|
, gtk3
|
||||||
, gnome3
|
, gnome3
|
||||||
, cmake
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, vala
|
, gobjectIntrospection
|
||||||
, elementary-cmake-modules
|
, gsettings-desktop-schemas
|
||||||
|
, vala_0_40
|
||||||
, wrapGAppsHook }:
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "regextester-${version}";
|
name = "regextester-${version}";
|
||||||
version = "0.1.7";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "artemanufrij";
|
owner = "artemanufrij";
|
||||||
repo = "regextester";
|
repo = "regextester";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "07shdm10dc7jz2hka5dc51yp81a0dgc47nmkrp6fs6r9wqx0j30n";
|
sha256 = "1xwwv1hccni1mrbl58f7ly4qfq6738vn24bcbl2q346633cd7kx3";
|
||||||
};
|
};
|
||||||
|
|
||||||
XDG_DATA_DIRS = stdenv.lib.concatStringsSep ":" [
|
|
||||||
"${granite}/share"
|
|
||||||
"${gnome3.libgee}/share"
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
wrapGAppsHook
|
meson
|
||||||
vala
|
|
||||||
cmake
|
|
||||||
ninja
|
ninja
|
||||||
gettext
|
gettext
|
||||||
|
gobjectIntrospection
|
||||||
libxml2
|
libxml2
|
||||||
elementary-cmake-modules
|
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
glib
|
||||||
granite
|
granite
|
||||||
|
gtk3
|
||||||
|
gnome3.defaultIconTheme
|
||||||
gnome3.libgee
|
gnome3.libgee
|
||||||
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A desktop application to test regular expressions interactively";
|
description = "A desktop application to test regular expressions interactively";
|
||||||
homepage = https://github.com/artemanufrij/regextester;
|
homepage = https://github.com/artemanufrij/regextester;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user