From 87664cae14b59b150d24af0ecc491366f0034f52 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Mon, 7 Jul 2025 07:39:46 +0200 Subject: [PATCH] overskride: 0.6.1 -> 0.6.2 (#393766) cleanup --- pkgs/by-name/ov/overskride/package.nix | 35 +++++++++----------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/pkgs/by-name/ov/overskride/package.nix b/pkgs/by-name/ov/overskride/package.nix index df9cef98e404..54a670422bbe 100644 --- a/pkgs/by-name/ov/overskride/package.nix +++ b/pkgs/by-name/ov/overskride/package.nix @@ -17,23 +17,15 @@ bluez, libpulseaudio, }: -let - - owner = "kaii-lb"; - name = "overskride"; - version = "0.6.1"; - -in -rustPlatform.buildRustPackage { - - pname = name; - inherit version; +rustPlatform.buildRustPackage (finalAttrs: { + pname = "overskride"; + version = "0.6.2"; src = fetchFromGitHub { - inherit owner; - repo = name; - rev = "v${version}"; - hash = "sha256-SqaPhub/HwZz7uBg/kevH8LvPDVLgRd/Rvi03ivNrRc="; + owner = "kaii-lb"; + repo = "overskride"; + tag = "v${finalAttrs.version}"; + hash = "sha256-eMT0wNTpW75V08rmwFtU6NkmZ4auiujzYgbcktewNcI="; }; useFetchCargoVendor = true; @@ -69,22 +61,19 @@ rustPlatform.buildRustPackage { ''; # The "Validate appstream file" test fails. - # TODO: This appears to have been fixed upstream - # so checks should be enabled with the next version. doCheck = false; preFixup = '' - glib-compile-schemas $out/share/gsettings-schemas/${name}-${version}/glib-2.0/schemas + glib-compile-schemas $out/share/gsettings-schemas/overskride-${finalAttrs.version}/glib-2.0/schemas ''; meta = { description = "Bluetooth and Obex client that is straight to the point, DE/WM agnostic, and beautiful"; - homepage = "https://github.com/${owner}/${name}"; - changelog = "https://github.com/${owner}/${name}/blob/v${version}/CHANGELOG.md"; + homepage = "https://github.com/kaii-lb/overskride"; + changelog = "https://github.com/kaii-lb/overskride/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3Only; - mainProgram = name; + mainProgram = "overskride"; maintainers = with lib.maintainers; [ mrcjkb ]; platforms = lib.platforms.linux; }; - -} +})