2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, vala
|
|
|
|
, gettext
|
|
|
|
, libxml2
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, glib
|
|
|
|
, gtk3
|
2021-03-19 17:17:44 +00:00
|
|
|
, libgee
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gobject-introspection
|
|
|
|
, gsettings-desktop-schemas
|
2023-02-16 17:41:37 +00:00
|
|
|
, desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
, pantheon
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "regextester";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "1.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "artemanufrij";
|
|
|
|
repo = "regextester";
|
|
|
|
rev = version;
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-5+gU8DeB99w2h/4vMal2eHkR0305dmRYiY6fsLZzlnc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
vala
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2023-02-16 17:41:37 +00:00
|
|
|
desktop-file-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pantheon.granite
|
|
|
|
glib
|
2021-03-19 17:17:44 +00:00
|
|
|
libgee
|
2020-04-24 23:36:52 +00:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Desktop application to test regular expressions interactively";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "com.github.artemanufrij.regextester";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/artemanufrij/regextester";
|
|
|
|
maintainers = with maintainers; [ samdroid-apps ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|