parlatype: sort dependencies and reformat

This commit is contained in:
Alexander Shpilkin 2022-10-12 14:41:20 +03:00
parent 0aa7db6030
commit 16ead09b5e
No known key found for this signature in database
GPG Key ID: 55F6F5B75637BD38

View File

@ -1,41 +1,62 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, meson, gtk3, dbus, gst_all_1, ninja, gettext, appstream-glib, python3, desktop-file-utils, glib, gobject-introspection, gsettings-desktop-schemas, isocodes, itstool, libxml2, wrapGAppsHook, hicolor-icon-theme }: { lib
, stdenv
, fetchFromGitHub
, appstream-glib
, dbus
, desktop-file-utils
, gettext
, glib
, gobject-introspection
, gsettings-desktop-schemas
, gst_all_1
, gtk3
, hicolor-icon-theme
, isocodes
, itstool
, libxml2
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "parlatype"; pname = "parlatype";
version = "3.1"; version = "3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gkarsay"; owner = "gkarsay";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1a4xlsbszb50vnz1g7kf7hl7aywp7s7xaravkcx13csn0a7l3x45"; sha256 = "1a4xlsbszb50vnz1g7kf7hl7aywp7s7xaravkcx13csn0a7l3x45";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config
meson
ninja
gettext
appstream-glib appstream-glib
python3
desktop-file-utils desktop-file-utils
gettext
gobject-introspection gobject-introspection
itstool itstool
libxml2 libxml2
meson
ninja
pkg-config
python3
wrapGAppsHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
gtk3
dbus dbus
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav
glib glib
gsettings-desktop-schemas gsettings-desktop-schemas
gst_all_1.gst-libav
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-ugly
gst_all_1.gstreamer
gtk3
hicolor-icon-theme hicolor-icon-theme
isocodes isocodes
]; ];
@ -50,9 +71,11 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "GNOME audio player for transcription"; description = "GNOME audio player for transcription";
longDescription = '' longDescription = ''
Parlatype is a minimal audio player for manual speech transcription, written for the GNOME desktop environment. Parlatype is a minimal audio player for manual speech transcription,
It plays audio sources to transcribe them in your favourite text application. written for the GNOME desktop environment. It plays audio sources to
Its intended to be useful for journalists, students, scientists and whoever needs to transcribe audio files. transcribe them in your favourite text application. Its intended to be
useful for journalists, students, scientists and whoever needs to
transcribe audio files.
''; '';
homepage = "https://www.parlatype.org/"; homepage = "https://www.parlatype.org/";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;