libmanette: format expression with nixpkgs-format

and also fix homepage
This commit is contained in:
Jan Tojnar 2019-11-02 14:30:56 +01:00
parent 0c15f0d0ca
commit 4839004ef2
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,12 +1,19 @@
{ stdenv, fetchurl, ninja, meson, pkgconfig, vala, gobject-introspection { stdenv
, glib, libgudev, libevdev, gnome3 }: , fetchurl
, ninja
, meson
, pkgconfig
, vala
, gobject-introspection
, glib
, libgudev
, libevdev
, gnome3
}:
let stdenv.mkDerivation rec {
version = "0.2.3";
pname = "libmanette"; pname = "libmanette";
in version = "0.2.3";
stdenv.mkDerivation {
name = "${pname}-${version}";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -15,8 +22,19 @@ stdenv.mkDerivation {
sha256 = "1zxh7jn2zg7hivmal5zxam6fxvjsd1w6hlw0m2kysk76b8anbw60"; sha256 = "1zxh7jn2zg7hivmal5zxam6fxvjsd1w6hlw0m2kysk76b8anbw60";
}; };
nativeBuildInputs = [ meson ninja pkgconfig vala gobject-introspection ]; nativeBuildInputs = [
buildInputs = [ glib libgudev libevdev ]; meson
ninja
pkgconfig
vala
gobject-introspection
];
buildInputs = [
glib
libgudev
libevdev
];
doCheck = true; doCheck = true;
@ -28,7 +46,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A simple GObject game controller library"; description = "A simple GObject game controller library";
homepage = https://wiki.gnome.org/Apps/Builder; homepage = "https://gitlab.gnome.org/aplazas/libmanette";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = gnome3.maintainers; maintainers = gnome3.maintainers;
platforms = platforms.unix; platforms = platforms.unix;