nixpkgs/pkgs/development/libraries/totem-pl-parser/default.nix

30 lines
904 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome3 }:
stdenv.mkDerivation rec {
pname = "totem-pl-parser";
2020-04-08 05:16:04 +00:00
version = "3.26.5";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-04-08 05:16:04 +00:00
sha256 = "132jihnf51zs98yjkc6jxyqib4f3dawpjm17g4bj4j78y93dww2k";
};
passthru = {
updateScript = gnome3.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;
};
}