2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-02-22 05:52:50 +00:00
|
|
|
, fetchFromGitHub
|
2019-10-10 02:47:37 +00:00
|
|
|
, vala
|
2018-02-22 05:52:50 +00:00
|
|
|
, gettext
|
|
|
|
, libxml2
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
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 20:31:18 +00:00
|
|
|
, pantheon
|
2018-02-22 05:52:50 +00:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "regextester";
|
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 = [
|
2019-10-10 02:47:37 +00:00
|
|
|
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 20:31:18 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2018-10-30 00:06:17 +00:00
|
|
|
wrapGAppsHook
|
2018-02-22 05:52:50 +00:00
|
|
|
];
|
2018-08-20 20:31:18 +00:00
|
|
|
|
2018-02-22 05:52:50 +00:00
|
|
|
buildInputs = [
|
2018-08-20 20:31:18 +00: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 20:31:18 +00: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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-22 05:52:50 +00:00
|
|
|
description = "A desktop application to test regular expressions interactively";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/artemanufrij/regextester";
|
2018-02-22 05:52:50 +00:00
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|