2018-02-22 05:52:50 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
|
|
|
, pkgconfig
|
2018-10-30 00:06:17 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
2018-02-22 05:52:50 +00:00
|
|
|
, gnome3
|
2018-10-30 00:06:17 +00:00
|
|
|
, meson
|
2018-02-22 05:52:50 +00:00
|
|
|
, ninja
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-10-30 00:06:17 +00:00
|
|
|
, gsettings-desktop-schemas
|
2018-08-20 21:31:18 +01:00
|
|
|
, pantheon
|
2018-02-22 05:52:50 +00:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "regextester-${version}";
|
2018-10-30 00:06:17 +00:00
|
|
|
version = "1.0.1";
|
2018-02-22 05:52:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "artemanufrij";
|
|
|
|
repo = "regextester";
|
|
|
|
rev = version;
|
2018-10-30 00:06:17 +00:00
|
|
|
sha256 = "1xwwv1hccni1mrbl58f7ly4qfq6738vn24bcbl2q346633cd7kx3";
|
2018-02-22 05:52:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-08-20 21:31:18 +01:00
|
|
|
pantheon.vala
|
2018-02-22 05:52:50 +00:00
|
|
|
gettext
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-02-22 05:52:50 +00:00
|
|
|
libxml2
|
2018-08-20 21:31:18 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
2018-10-30 00:06:17 +00:00
|
|
|
wrapGAppsHook
|
2018-02-22 05:52:50 +00:00
|
|
|
];
|
2018-08-20 21:31:18 +01:00
|
|
|
|
2018-02-22 05:52:50 +00:00
|
|
|
buildInputs = [
|
2018-08-20 21:31:18 +01:00
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-10-30 00:06:17 +00:00
|
|
|
glib
|
2018-02-22 05:52:50 +00:00
|
|
|
gnome3.libgee
|
2018-10-30 00:06:17 +00:00
|
|
|
gsettings-desktop-schemas
|
2018-08-20 21:31:18 +01:00
|
|
|
gtk3
|
2018-02-22 05:52:50 +00:00
|
|
|
];
|
|
|
|
|
2018-10-30 00:06:17 +00:00
|
|
|
postInstall = ''
|
|
|
|
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
|
|
|
'';
|
|
|
|
|
2018-02-22 05:52:50 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A desktop application to test regular expressions interactively";
|
|
|
|
homepage = https://github.com/artemanufrij/regextester;
|
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|