switcheroo-control: fix build
This commit is contained in:
parent
aa37fffc7c
commit
9ae5e2dc39
1 changed files with 5 additions and 8 deletions
|
@ -6,11 +6,10 @@
|
||||||
, libgudev
|
, libgudev
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, glib
|
, glib
|
||||||
, python3
|
, python3Packages
|
||||||
, gobject-introspection
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "switcheroo-control";
|
pname = "switcheroo-control";
|
||||||
version = "2.6";
|
version = "2.6";
|
||||||
|
|
||||||
|
@ -19,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.freedesktop.org";
|
domain = "gitlab.freedesktop.org";
|
||||||
owner = "hadess";
|
owner = "hadess";
|
||||||
repo = pname;
|
repo = "switcheroo-control";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-F+5HhMxM8pcnAGmVBARKWNCL0rIEzHW/jsGHHqYZJug=";
|
hash = "sha256-F+5HhMxM8pcnAGmVBARKWNCL0rIEzHW/jsGHHqYZJug=";
|
||||||
};
|
};
|
||||||
|
@ -28,18 +27,16 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
ninja
|
ninja
|
||||||
meson
|
meson
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
||||||
# needed for glib-compile-resources
|
|
||||||
glib
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
systemd
|
systemd
|
||||||
libgudev
|
libgudev
|
||||||
|
glib
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
python3.pkgs.pygobject3
|
python3Packages.pygobject3
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
|
Loading…
Reference in a new issue