Last active
September 27, 2017 17:50
-
-
Save ben0x539/d3c23163efa9bd9198b237229c18f4f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.