mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #291460 from Gerg-L/switcheroo
switcheroo-control: fix build
This commit is contained in:
commit
2feb645335
|
@ -6,11 +6,10 @@
|
|||
, libgudev
|
||||
, pkg-config
|
||||
, glib
|
||||
, python3
|
||||
, gobject-introspection
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "switcheroo-control";
|
||||
version = "2.6";
|
||||
|
||||
|
@ -19,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "hadess";
|
||||
repo = pname;
|
||||
repo = "switcheroo-control";
|
||||
rev = version;
|
||||
hash = "sha256-F+5HhMxM8pcnAGmVBARKWNCL0rIEzHW/jsGHHqYZJug=";
|
||||
};
|
||||
|
@ -28,18 +27,16 @@ python3.pkgs.buildPythonApplication rec {
|
|||
ninja
|
||||
meson
|
||||
pkg-config
|
||||
|
||||
# needed for glib-compile-resources
|
||||
glib
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
systemd
|
||||
libgudev
|
||||
glib
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3.pkgs.pygobject3
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
|
|
Loading…
Reference in a new issue