mirror of
https://github.com/chuangzhu/nixpkgs-gnome-mobile.git
synced 2024-12-27 23:46:01 +01:00
44 lines
1.2 KiB
Nix
44 lines
1.2 KiB
Nix
self: super:
|
|
|
|
let
|
|
gvc = super.fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = "libgnome-volume-control";
|
|
rev = "5f9768a2eac29c1ed56f1fbb449a77a3523683b6";
|
|
hash = "sha256-gdgTnxzH8BeYQAsvv++Yq/8wHi7ISk2LTBfU8hk12NM=";
|
|
};
|
|
in
|
|
|
|
{
|
|
gnome-shell = super.gnome-shell.overrideAttrs (old: rec {
|
|
version = "46-mobile.1";
|
|
src = super.fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "verdre";
|
|
repo = "gnome-shell-mobile";
|
|
rev = version;
|
|
hash = "sha256-NL1/mddfaL1rMidsbtV4kG2SlAZZNuR8KmqTmEE4IAM=";
|
|
fetchSubmodules = true;
|
|
};
|
|
# JS ERROR: Error: Requiring ModemManager, version none: Typelib file for namespace 'ModemManager' (any version) not found
|
|
# @resource:///org/gnome/shell/misc/modemManager.js:4:49
|
|
buildInputs = old.buildInputs ++ [ super.modemmanager ];
|
|
postPatch = ''
|
|
patchShebangs src/data-to-c.pl
|
|
ln -sf ${gvc} subprojects/gvc
|
|
'';
|
|
});
|
|
|
|
mutter = super.mutter.overrideAttrs (old: rec {
|
|
version = "46-mobile.1";
|
|
src = super.fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "verdre";
|
|
repo = "mutter-mobile";
|
|
rev = version;
|
|
hash = "sha256-Xmoq//Igaz1oVt2/aLV+9WjZzW1g6yLADqg97wD3Lug=";
|
|
};
|
|
});
|
|
}
|
|
|