libratbag: fix meson/python compatibility

This commit is contained in:
Jan Tojnar 2018-09-25 05:58:22 +02:00
parent a5af84ef2c
commit 927a82d60f
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -12,15 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "0cr5skrb7a5mgj7dkm647ib8336hb88bf11blaf6xldafi8b0jlj";
};
# todo: python should be in buildInputs, but right now meson propagates
# its own python. see: https://github.com/NixOS/nixpkgs/pull/46020
nativeBuildInputs = [
(python3.withPackages (ps: with ps; [ evdev pygobject3 ]))
meson ninja pkgconfig gitMinimal swig check valgrind
];
buildInputs = [ glib systemd udev libevdev ];
buildInputs = [
glib systemd udev libevdev
(python3.withPackages (ps: with ps; [ evdev pygobject3 ]))
];
mesonFlags = [
"-Dsystemd-unit-dir=./lib/systemd/system/"