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