nixpkgs-suyu/pkgs/applications/networking/browsers/jumanji/default.nix

31 lines
907 B
Nix
Raw Normal View History

{ stdenv, fetchgit, pkgconfig, girara, gtk, webkitgtk, glib_networking, makeWrapper
, gsettings_desktop_schemas }:
2014-10-09 12:26:20 +02:00
stdenv.mkDerivation rec {
name = "jumanji-${version}";
version = "20150107";
2014-10-09 12:26:20 +02:00
src = fetchgit {
2015-12-14 18:46:04 +01:00
url = https://git.pwmt.org/pwmt/jumanji.git;
rev = "f8e04e5b5a9fec47d49ca63a096e5d35be281151";
sha256 = "1xq06iabr4y76faf4w1cx6fhwdksfsxggz1ndny7icniwjzk98h9";
2014-10-09 12:26:20 +02:00
};
buildInputs = [ girara pkgconfig gtk webkitgtk makeWrapper gsettings_desktop_schemas ];
2014-10-09 12:26:20 +02:00
makeFlags = [ "PREFIX=$(out)" ];
preFixup=''
wrapProgram "$out/bin/jumanji" \
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
2014-10-09 12:26:20 +02:00
'';
meta = with stdenv.lib; {
description = "Minimal web browser";
homepage = http://pwmt.org/projects/jumanji/;
platforms = platforms.all;
maintainers = [ maintainers.koral ];
};
}