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

60 lines
1.1 KiB
Nix
Raw Normal View History

2018-02-22 06:52:50 +01:00
{ stdenv
, fetchFromGitHub
, vala
2018-02-22 06:52:50 +01:00
, gettext
, libxml2
, pkgconfig
, glib
, gtk3
2018-02-22 06:52:50 +01:00
, gnome3
, meson
2018-02-22 06:52:50 +01:00
, ninja
, gobject-introspection
, gsettings-desktop-schemas
2018-08-20 22:31:18 +02:00
, pantheon
2018-02-22 06:52:50 +01:00
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "regextester";
version = "1.0.1";
2018-02-22 06:52:50 +01:00
src = fetchFromGitHub {
owner = "artemanufrij";
repo = "regextester";
rev = version;
sha256 = "1xwwv1hccni1mrbl58f7ly4qfq6738vn24bcbl2q346633cd7kx3";
2018-02-22 06:52:50 +01:00
};
nativeBuildInputs = [
vala
2018-02-22 06:52:50 +01:00
gettext
gobject-introspection
2018-02-22 06:52:50 +01:00
libxml2
2018-08-20 22:31:18 +02:00
meson
ninja
pkgconfig
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
glib
2018-02-22 06:52:50 +01:00
gnome3.libgee
gsettings-desktop-schemas
2018-08-20 22:31:18 +02:00
gtk3
2018-02-22 06:52:50 +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";
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;
};
}