1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/applications/misc/regextester/default.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

2018-02-22 05:52:50 +00:00
{ stdenv
, fetchFromGitHub
, gettext
, libxml2
, pkgconfig
, glib
2018-02-22 05:52:50 +00:00
, granite
, gtk3
2018-02-22 05:52:50 +00:00
, gnome3
, meson
2018-02-22 05:52:50 +00:00
, ninja
, gobject-introspection
, gsettings-desktop-schemas
, vala_0_40
2018-02-22 05:52:50 +00:00
, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "regextester-${version}";
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 = [
pkgconfig
meson
2018-02-22 05:52:50 +00:00
ninja
gettext
gobject-introspection
2018-02-22 05:52:50 +00:00
libxml2
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
wrapGAppsHook
2018-02-22 05:52:50 +00:00
];
buildInputs = [
glib
2018-02-22 05:52:50 +00:00
granite
gtk3
gnome3.defaultIconTheme
2018-02-22 05:52:50 +00:00
gnome3.libgee
gsettings-desktop-schemas
2018-02-22 05:52:50 +00:00
];
postInstall = ''
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
'';
2018-02-22 05:52:50 +00:00
meta = with stdenv.lib; {
description = "A desktop application to test regular expressions interactively";
homepage = https://github.com/artemanufrij/regextester;
maintainers = with maintainers; [ samdroid-apps ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
};
}