nixpkgs/pkgs/by-name/li/libmkv/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
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.
2024-11-09 20:04:51 +08:00

30 lines
872 B
Nix

{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "libmkv";
version = "0.6.5.1";
src = fetchFromGitHub {
owner = "saintdev";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl";
};
nativeBuildInputs = [ libtool autoconf automake ];
preConfigure = "sh bootstrap.sh";
meta = {
description = "Abandoned library. Alternative lightweight Matroska muxer written for HandBrake";
longDescription = ''
Library was meant to be an alternative to the official libmatroska library.
It is written in plain C, and intended to be very portable.
'';
homepage = "https://github.com/saintdev/libmkv";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.wmertens ];
platforms = lib.platforms.unix;
};
}