@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user