nixpkgs/pkgs/applications/misc/regextester/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
2018-02-22 05:52:50 +00:00
, fetchFromGitHub
, vala
2018-02-22 05:52:50 +00:00
, gettext
, libxml2
, pkg-config
, glib
, gtk3
, libgee
, meson
2018-02-22 05:52:50 +00:00
, ninja
, gobject-introspection
, 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 {
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 = [
vala
2018-02-22 05:52:50 +00:00
gettext
gobject-introspection
2018-02-22 05:52:50 +00:00
libxml2
2018-08-20 20:31:18 +00:00
meson
ninja
pkg-config
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
glib
libgee
gsettings-desktop-schemas
2018-08-20 20:31:18 +00:00
gtk3
2018-02-22 05:52:50 +00:00
];
postInstall = ''
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
'';
meta = with lib; {
2018-02-22 05:52:50 +00:00
description = "A desktop application to test regular expressions interactively";
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;
};
}