libogg: modernize

This commit is contained in:
Doron Behar 2024-08-29 09:39:27 +03:00 committed by Emery Hemingway
parent eaa7682ca1
commit 93f7772ee6

View File

@ -1,17 +1,25 @@
{ lib, stdenv, fetchurl }:
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libogg";
version = "1.3.5";
src = fetchurl {
url = "http://downloads.xiph.org/releases/ogg/${pname}-${version}.tar.xz";
url = "http://downloads.xiph.org/releases/ogg/libogg-${finalAttrs.version}.tar.xz";
sha256 = "01b7050bghdvbxvw0gzv588fn4a27zh42ljpwzm4vrf8dziipnf4";
};
outputs = [ "out" "dev" "doc" ];
outputs = [
"out"
"dev"
"doc"
];
meta = with lib; {
meta = {
description = "Media container library to manipulate Ogg files";
longDescription = ''
Library to work with Ogg multimedia container format.
@ -19,8 +27,8 @@ stdenv.mkDerivation rec {
plethora of codecs. Open format free for anyone to use.
'';
homepage = "https://xiph.org/ogg/";
license = licenses.bsd3;
maintainers = [ maintainers.ehmry ];
platforms = platforms.all;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ehmry ];
platforms = lib.platforms.all;
};
}
})