Skip to content

Commit

Permalink
libdmapsharing: format with nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Sep 2, 2024
1 parent 2de067f commit a9eed7f
Showing 1 changed file with 52 additions and 45 deletions.
97 changes: 52 additions & 45 deletions pkgs/development/libraries/libdmapsharing/default.nix
Original file line number Diff line number Diff line change
@@ -1,67 +1,74 @@
{ stdenv
, lib
, fetchFromGitLab
, autoconf
, automake
, libtool
, pkg-config
, vala
, avahi
, gdk-pixbuf
, gst_all_1
, glib
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
, gobject-introspection
, libsoup_3
, withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
{
stdenv,
lib,
fetchFromGitLab,
autoconf,
automake,
libtool,
pkg-config,
vala,
avahi,
gdk-pixbuf,
gst_all_1,
glib,
gtk-doc,
docbook-xsl-nons,
docbook_xml_dtd_43,
gobject-introspection,
libsoup_3,
withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform,
}:

stdenv.mkDerivation rec {
pname = "libdmapsharing";
version = "3.9.13";

outputs = [
"out"
"dev"
] ++ lib.optionals withGtkDoc [
"devdoc"
];
outputs =
[
"out"
"dev"
]
++ lib.optionals withGtkDoc [
"devdoc"
];

outputBin = "dev";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
rev = "${lib.toUpper pname}_${lib.replaceStrings ["."] ["_"] version}";
rev = "${lib.toUpper pname}_${lib.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "oR9lpOFxgGfrtzncFT6dbmhKQfcuH/NvhOR/USHAHQc=";
};

strictDeps = true;

nativeBuildInputs = [
autoconf
automake
libtool
gtk-doc # gtkdocize
pkg-config
gobject-introspection
vala
] ++ lib.optionals withGtkDoc [
docbook-xsl-nons
docbook_xml_dtd_43
];
nativeBuildInputs =
[
autoconf
automake
libtool
gtk-doc # gtkdocize
pkg-config
gobject-introspection
vala
]
++ lib.optionals withGtkDoc [
docbook-xsl-nons
docbook_xml_dtd_43
];

buildInputs = [
avahi
gdk-pixbuf
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
] ++ lib.optionals withGtkDoc [
gtk-doc
];
buildInputs =
[
avahi
gdk-pixbuf
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
]
++ lib.optionals withGtkDoc [
gtk-doc
];

propagatedBuildInputs = [
glib
Expand Down

0 comments on commit a9eed7f

Please sign in to comment.