3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/totem-pl-parser/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

30 lines
902 B
Nix

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome }:
stdenv.mkDerivation rec {
pname = "totem-pl-parser";
version = "3.26.5";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k";
};
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection ];
buildInputs = [ libxml2 ];
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Videos";
description = "Simple GObject-based library to parse and save a host of playlist formats";
maintainers = teams.gnome.members;
license = licenses.lgpl2;
platforms = platforms.linux;
};
}