diff --git a/pkgs/lightdm-mobile-greeter/cargo_lock-fix_lightdm_rs_url.patch b/pkgs/lightdm-mobile-greeter/cargo_lock-fix_lightdm_rs_url.patch new file mode 100644 index 00000000..9a29cf43 --- /dev/null +++ b/pkgs/lightdm-mobile-greeter/cargo_lock-fix_lightdm_rs_url.patch @@ -0,0 +1,28 @@ +commit c2a3a5eff2edc95108a21fc02c420a8aaa19accd +Author: colin +Date: Tue Oct 25 20:59:20 2022 -0700 + + Cargo.lock: update lightdm-rs URLs + +diff --git a/Cargo.lock b/Cargo.lock +index 1051644..72d09e6 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -362,7 +362,7 @@ dependencies = [ + [[package]] + name = "light-dm-sys" + version = "0.0.1" +-source = "git+https://raatty.club:3000/raatty/lightdm-rs.git#a3c669583bb932e2b25372048b1e9dbda1f10e11" ++source = "git+https://git.raatty.club/raatty/lightdm-rs.git#a3c669583bb932e2b25372048b1e9dbda1f10e11" + dependencies = [ + "gio-sys", + "glib-sys", +@@ -374,7 +374,7 @@ dependencies = [ + [[package]] + name = "lightdm" + version = "0.1.0" +-source = "git+https://raatty.club:3000/raatty/lightdm-rs.git#a3c669583bb932e2b25372048b1e9dbda1f10e11" ++source = "git+https://git.raatty.club/raatty/lightdm-rs.git#a3c669583bb932e2b25372048b1e9dbda1f10e11" + dependencies = [ + "gio", + "gio-sys", diff --git a/pkgs/lightdm-mobile-greeter/default.nix b/pkgs/lightdm-mobile-greeter/default.nix index dbaf77bf..d8abc470 100644 --- a/pkgs/lightdm-mobile-greeter/default.nix +++ b/pkgs/lightdm-mobile-greeter/default.nix @@ -11,16 +11,20 @@ rustPlatform.buildRustPackage rec { pname = "lightdm-mobile-greeter"; - version = "0.1.2"; + version = "6"; src = fetchFromGitea { - domain = "git.uninsane.org"; - owner = "colin"; + domain = "git.raatty.club"; + owner = "raatty"; repo = "lightdm-mobile-greeter"; - rev = "v${version}"; - hash = "sha256-x7tpaHYDg6BPIc3k3zzPvZma0RYuGAMQ/z6vAP0wbWs="; + rev = "${version}"; + hash = "sha256-uqsYOHRCOmd3tpJdndZFQ/tznZ660NhB+gE2154kJuM="; }; - cargoHash = "sha256-5WJGnLdZd4acKPEkkTS71n4gfxhlujHWnwiMsomTYck="; + cargoHash = "sha256-JV8NQdZAG4EetRHwbi0dD0uIOUkn5hvzry+5WB7TCO4="; + + cargoPatches = [ + ./cargo_lock-fix_lightdm_rs_url.patch + ]; buildInputs = [ gtk3