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
|
2021-03-16 17:30:03 +00:00
|
|
|
, libgee
|
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
|
2023-02-13 09:08:48 +00:00
|
|
|
, desktop-file-utils
|
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";
|
2023-02-13 09:08:48 +00:00
|
|
|
version = "1.1.1";
|
2018-02-22 05:52:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "artemanufrij";
|
|
|
|
repo = "regextester";
|
|
|
|
rev = version;
|
2023-02-13 09:08:48 +00:00
|
|
|
hash = "sha256-5+gU8DeB99w2h/4vMal2eHkR0305dmRYiY6fsLZzlnc=";
|
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
|
2023-02-13 09:08:48 +00:00
|
|
|
desktop-file-utils
|
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.granite
|
2018-10-30 00:06:17 +00:00
|
|
|
glib
|
2021-03-16 17:30:03 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|