Skip to content

Instantly share code, notes, and snippets.

@cocreature
Created July 1, 2018 17:57
Show Gist options
  • Save cocreature/a38f18a30879f281131e9574c7709999 to your computer and use it in GitHub Desktop.
Save cocreature/a38f18a30879f281131e9574c7709999 to your computer and use it in GitHub Desktop.
{ stdenv, fetchgit, meson, ninja, pkgconfig
, gobjectIntrospection
, python36Packages, gnome3, glib
}:
stdenv.mkDerivation rec {
version = "0.9.7";
name = "lollypop-portal-${version}";
src = fetchgit {
url = "https://gitlab.gnome.org/gnumdk/lollypop-portal";
rev = "refs/tags/${version}";
sha256 = "0rn5xmh6391i9l69y613pjad3pzdilskr2xjfcir4vpk8wprvph3";
};
nativeBuildInputs = with python36Packages; [
gobjectIntrospection
meson
ninja
pkgconfig
wrapPython
];
buildInputs = [
glib
gnome3.gtk3
];
pythonPath = with python36Packages; [
pygobject3
];
postFixup = "wrapPythonPrograms";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment