2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-02-22 05:52:50 +00:00
|
|
|
, fetchFromGitHub
|
2019-10-10 03:47:37 +01: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
|
2018-08-20 21:31:18 +01:00
|
|
|
, pantheon
|
2018-02-22 05:52:50 +00:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01: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 03:47:37 +01: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 21:31:18 +01: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 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
|
2021-03-16 17:30:03 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
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 02:11:51 +01: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;
|
|
|
|
};
|
|
|
|
}
|