Skip to content

Instantly share code, notes, and snippets.

@ben0x539
Last active September 27, 2017 17:50
Show Gist options
  • Save ben0x539/d3c23163efa9bd9198b237229c18f4f6 to your computer and use it in GitHub Desktop.
Save ben0x539/d3c23163efa9bd9198b237229c18f4f6 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
stdenv.mkDerivation rec {
name = "gnome-builder-${version}";
version = "3.25.2-a11c9dfa";
buildInputs = [
libxml2 desktop_file_utils llvm clang libgit2 gobjectIntrospection librsvg
json_glib mm-common enchant libtool fuse libgsystem ostree polkit ctags
libssh2 meson sysprof
] ++ (with gnome3; [
glib glib.dev gtk gtksourceview libpeas devhelp libgit2-glib
webkitgtk gsettings_desktop_schemas dconf gspell
]);
propagatedBuildInputs = with python3Packages; [
python pygobject3 lxml jedi docutils six chardet urllib3 sphinx_rtd_theme
pbr funcsigs mock imagesize markupsafe jinja2 pygments snowballstemmer
requests alabaster pytz Babel sphinx
];
nativeBuildInputs = [
pkgconfig meson ninja autoconf automake wrapGAppsHook
yacc flex intltool itstool
];
propagatedUserEnvPkgs = [
ctags
];
wrapPrefixVariables = "PYTHONPATH";
preConfigure = ''
./autogen.sh
PYTHONPATH="$PYTHONPATH:$out/${python3Packages.python.sitePackages}"
'';
enableParallelBuilding = true;
src = fetchgit {
url = https://git.gnome.org/browse/gnome-builder;
rev = "a11c9dfad6d39d5686ad8cb3885f898696e218d6";
sha256 = "0p08zr798fh7lycfybzvyx63m55z13afs1adrsmn7vhrbn0az934";
};
}
@ben0x539
Copy link
Author

ben0x539 commented Jun 3, 2017

complains about jedi not being installed at runtime, doesn't come with rust language server, didn't really test much else. no idea if this is how you're supposed to ship python runtime deps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment