piper: format with nixfmt
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
{ lib, meson, ninja, pkg-config, gettext, fetchFromGitHub, python3
|
||||
, wrapGAppsHook3, gtk3, glib, desktop-file-utils, appstream-glib, adwaita-icon-theme
|
||||
, gobject-introspection, librsvg }:
|
||||
{
|
||||
lib,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
gettext,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
wrapGAppsHook3,
|
||||
gtk3,
|
||||
glib,
|
||||
desktop-file-utils,
|
||||
appstream-glib,
|
||||
adwaita-icon-theme,
|
||||
gobject-introspection,
|
||||
librsvg,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "piper";
|
||||
@@ -9,17 +23,34 @@ python3.pkgs.buildPythonApplication rec {
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libratbag";
|
||||
repo = "piper";
|
||||
rev = version;
|
||||
owner = "libratbag";
|
||||
repo = "piper";
|
||||
rev = version;
|
||||
sha256 = "sha256-j58fL6jJAzeagy5/1FmygUhdBm+PAlIkw22Rl/fLff4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja gettext pkg-config wrapGAppsHook3 desktop-file-utils appstream-glib gobject-introspection ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
gettext
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
desktop-file-utils
|
||||
appstream-glib
|
||||
gobject-introspection
|
||||
];
|
||||
buildInputs = [
|
||||
gtk3 glib adwaita-icon-theme python3 librsvg
|
||||
gtk3
|
||||
glib
|
||||
adwaita-icon-theme
|
||||
python3
|
||||
librsvg
|
||||
];
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
lxml
|
||||
evdev
|
||||
pygobject3
|
||||
];
|
||||
propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Druntime-dependency-checks=false"
|
||||
@@ -33,9 +64,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
meta = with lib; {
|
||||
description = "GTK frontend for ratbagd mouse config daemon";
|
||||
mainProgram = "piper";
|
||||
homepage = "https://github.com/libratbag/piper";
|
||||
license = licenses.gpl2Only;
|
||||
homepage = "https://github.com/libratbag/piper";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ mvnetbiz ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user