mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
46 lines
1.3 KiB
Nix
46 lines
1.3 KiB
Nix
{ stdenv, fetchurl, meson, ninja, pkg-config, gettext, vala, glib, liboauth, gtk3
|
|
, gtk-doc, docbook_xsl, docbook_xml_dtd_43
|
|
, libxml2, gnome3, gobject-introspection, libsoup, totem-pl-parser }:
|
|
|
|
let
|
|
pname = "grilo";
|
|
version = "0.3.13"; # if you change minor, also change ./setup-hook.sh
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
|
outputBin = "dev";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i";
|
|
};
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
mesonFlags = [
|
|
"-Denable-gtk-doc=true"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja pkg-config gettext gobject-introspection vala
|
|
gtk-doc docbook_xsl docbook_xml_dtd_43
|
|
];
|
|
buildInputs = [ glib liboauth gtk3 libxml2 libsoup totem-pl-parser ];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://wiki.gnome.org/Projects/Grilo";
|
|
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|