mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
28 lines
874 B
Nix
28 lines
874 B
Nix
{ lib, stdenv, fetchurl, libogg, libvorbis, libdvdread }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ogmtools";
|
|
version = "1.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.bunkus.org/videotools/ogmtools/ogmtools-${version}.tar.bz2";
|
|
sha256 = "1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8";
|
|
};
|
|
|
|
buildInputs = [ libogg libvorbis libdvdread ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
|
|
|
|
meta = {
|
|
description = "Tools for modifying and inspecting OGG media streams";
|
|
longDescription = ''
|
|
These tools allow information about (ogminfo) or extraction from
|
|
(ogmdemux) or creation of (ogmmerge) OGG media streams. Includes dvdxchap
|
|
tool for extracting chapter information from DVD.
|
|
'';
|
|
homepage = "https://www.bunkus.org/videotools/ogmtools/";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|