Skip to content

Instantly share code, notes, and snippets.

@srhb
Created July 16, 2020 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srhb/693b453d556b0acaed63d4bb93493677 to your computer and use it in GitHub Desktop.
Save srhb/693b453d556b0acaed63d4bb93493677 to your computer and use it in GitHub Desktop.
with import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz) { };
python3Packages.buildPythonApplication {
pname = "soundcraft-utils";
version = "0.0.1";
src = ./.;
nativeBuildInputs = [
wrapGAppsHook
gobject-introspection
];
dontWrapGapps = true;
propagatedBuildInputs = with python3Packages; [
dbus
libgudev
gtk3
pygobject3
pyusb
pydbus
setuptools
gobjectIntrospection
];
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment