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

60 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
2018-08-20 20:31:18 +00:00
, pantheon
2018-02-22 05:52:50 +00:00
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "regextester";
version = "1.0.1";
2018-02-22 05:52:50 +00:00
src = fetchFromGitHub {
owner = "artemanufrij";
repo = "regextester";
rev = version;
sha256 = "1xwwv1hccni1mrbl58f7ly4qfq6738vn24bcbl2q346633cd7kx3";
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
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.elementary-icon-theme
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;
};
}