oversteer: 0.7.2 -> 0.8.0

This commit is contained in:
Samuel Rounce 2023-10-19 11:25:36 +01:00
parent a557292618
commit 71e4159f44
2 changed files with 4 additions and 17 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gettext, python3, python3Packages
, meson, cmake, ninja, udev, appstream, appstream-glib, desktop-file-utils, gtk3
, meson, ninja, udev, appstream, appstream-glib, desktop-file-utils, gtk3
, wrapGAppsHook, gobject-introspection, bash, }:
let
python = python3.withPackages (p:
@ -14,7 +14,7 @@ let
pygobject3
]);
version = "0.7.2";
version = "0.8.0";
in stdenv.mkDerivation {
inherit version;
@ -24,7 +24,7 @@ in stdenv.mkDerivation {
owner = "berarma";
repo = "oversteer";
rev = version;
sha256 = "sha256-9MWRb0NXUbB8c+pH0mjUzsz849PmEjsZMhQr4wsmlKI=";
sha256 = "sha256-fkf6sa4yYbxGOehyLzuFj5nZiPK3B1D/VVvobhKB4Uo=";
};
buildInputs = [ bash gtk3 ];
@ -64,7 +64,7 @@ in stdenv.mkDerivation {
--replace /bin/sh ${bash}/bin/sh
'';
patches = [ ./fix-install-dir.patch ];
patches = [ ];
meta = with lib; {
homepage = "https://github.com/berarma/oversteer";

View File

@ -1,13 +0,0 @@
diff --git a/meson.build b/meson.build
index 239acf9..6a06c83 100644
--- a/meson.build
+++ b/meson.build
@@ -8,7 +8,7 @@ pymod = import('python')
prefix = get_option('prefix')
pkgdatadir = join_paths(prefix, get_option('datadir'), meson.project_name())
py_installation = pymod.find_installation(get_option('python'))
-py_path = py_installation.get_path('purelib')
+py_path = py_installation.get_install_dir()
python3_required_modules = ['gi', 'pyudev', 'xdg', 'evdev', 'gettext', 'matplotlib', 'scipy', 'numpy']
foreach p : python3_required_modules