mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
libogg: modernize
This commit is contained in:
parent
eaa7682ca1
commit
93f7772ee6
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user