nixpkgs-gnome-mobile/overlay.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

2024-07-17 21:45:20 +02:00
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.callPackage ./nixpkgs/gn/gnome-shell/package.nix { }).overrideAttrs (old: rec {
version = "46-mobile.1";
2024-09-21 08:14:33 +02:00
src = super.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "verdre";
repo = "gnome-shell-mobile";
2024-09-21 08:14:33 +02:00
rev = version;
hash = "sha256-NL1/mddfaL1rMidsbtV4kG2SlAZZNuR8KmqTmEE4IAM=";
2024-09-21 08:14:33 +02:00
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
'';
});
2023-04-26 00:11:34 +02:00
mutter = (super.callPackage ./nixpkgs/mu/mutter/package.nix { }).overrideAttrs (old: rec {
version = "46-mobile.1";
2024-09-21 08:14:33 +02:00
src = super.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "verdre";
repo = "mutter-mobile";
2024-09-21 08:14:33 +02:00
rev = version;
hash = "sha256-Xmoq//Igaz1oVt2/aLV+9WjZzW1g6yLADqg97wD3Lug=";
2024-09-21 08:14:33 +02:00
};
2023-04-26 00:11:34 +02:00
});
}